-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
v-if inside of <teleport> fails when having multiple <teleport> children #1903
Comments
underfin
added a commit
to underfin/vue-next
that referenced
this issue
Aug 20, 2020
ghost
mentioned this issue
Aug 21, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Version
3.0.0-rc.6
Reproduction link
https://jsfiddle.net/hm2xszge/
Steps to reproduce
What is expected?
The dialog/ modal should close.
What is actually happening?
Closing fails and an error is thrown in the JS console in the dev tools:
Uncaught (in promise) TypeError: Cannot read property 'insertBefore' of null ...
It's possible that I'm using
<teleport>
in an invalid way:Is
<teleport>
meant to be used with only one child element? I didn't find anything about that in the docs/ API reference.The text was updated successfully, but these errors were encountered: