Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The to of teleport specifies that the div of the parent of the Vue component reports an error #3142

Closed
mayuxian opened this issue Feb 1, 2021 · 1 comment

Comments

@mayuxian
Copy link

mayuxian commented Feb 1, 2021

Version

3.0.5

Reproduction link

https://github.com/mayuxian/vite-issue-sample/blob/master/src/App.vue

Steps to reproduce

  1. yarn create @vitejs/app vite-issue-sample
  2. create "modal-button" component,
  3. App.vue import "modal-button",as below

Tooltips with Vue 3 Teleport

What is expected?

1.no error
2.If it is forbidden,please give a friendly tips

What is actually happening?

runtime-dom.esm-bundler.js:30 Uncaught (in promise) TypeError: Cannot read property 'parentNode' of null
at parentNode (runtime-dom.esm-bundler.js:30)
at patchBlockChildren (runtime-core.esm-bundler.js:4006)
at Object.process (runtime-core.esm-bundler.js:4990)
at patch (runtime-core.esm-bundler.js:3715)
at patchBlockChildren (runtime-core.esm-bundler.js:4010)
at processFragment (runtime-core.esm-bundler.js:4065)
at patch (runtime-core.esm-bundler.js:3705)
at componentEffect (runtime-core.esm-bundler.js:4278)
at reactiveEffect (reactivity.esm-bundler.js:42)
at callWithErrorHandling (runtime-core.esm-bundler.js:154)

@HcySunYang
Copy link
Member

Should be the same as #2015, tracked there.

@github-actions github-actions bot locked and limited conversation to collaborators Oct 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants