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

Teleport cannot be used multiple times #1929

Closed
ghost opened this issue Aug 21, 2020 · 1 comment
Closed

Teleport cannot be used multiple times #1929

ghost opened this issue Aug 21, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 21, 2020

Version

3.0.0-rc.6

Reproduction link

https://codepen.io/team/Vue/pen/gOPNvjR

Steps to reproduce

  1. Click "Open full screen modal! (With teleport!)"
  2. Click "Close"

What is expected?

The modal should close.

What is actually happening?

Clicking close on the modal provides an error "Uncaught (in promise) TypeError: Cannot read property 'insertBefore' of null".

I'm pretty sure this is a duplicate of #1903, but I'm honestly not 100%, so I figured I'd submit this issue just in case.


I first noticed this in one of my own projects. Then, when looking at the teleport documentation (https://v3.vuejs.org/guide/teleport.html), I ran the codepen provided and got the same error. The codepen that I linked is the code that's supposed to demo the teleport.

The error is prefaced with the warning: "This is likely a Vue internals bug. Please open an issue.."

@yyx990803
Copy link
Member

Yeah, it's fixed by the same commit (tested from latest master)

@github-actions github-actions bot locked and limited conversation to collaborators Nov 6, 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

1 participant