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

Conditionally rendered teleported component does not unmount #1815

Closed
greeeg opened this issue Aug 9, 2020 · 2 comments
Closed

Conditionally rendered teleported component does not unmount #1815

greeeg opened this issue Aug 9, 2020 · 2 comments

Comments

@greeeg
Copy link

greeeg commented Aug 9, 2020

Version

3.0.0-rc.5

Reproduction link

https://codesandbox.io/s/cool-shape-018sv?file=/src/index.js

Steps to reproduce

  • Open the modal by clicking the "Open modal" button
  • Edit the email input field
  • Try to close the modal using the "Close modal" button

What is expected?

The modal is successfully closed by sending the event to the parent component which updates its state and unmount the modal.

What is actually happening?

When editing the email input field and then trying to close the modal, Vue throws an error indicating that an unhandled error happened during execution of scheduler flush.


The issue is only visible when using the teleport component.

@greeeg
Copy link
Author

greeeg commented Aug 9, 2020

It seems related to an issue posted earlier I didn't see #1813. Feel free to close this one if needed.

@posva
Copy link
Member

posva commented Aug 9, 2020

Duplicate of #1813

@posva posva marked this as a duplicate of #1813 Aug 9, 2020
@posva posva closed this as completed Aug 9, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Nov 7, 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