You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a component using teleport. Add this component to the App via v-if. Then make sure that the v-if evaluates to false: the component will be unmounted.
What is expected?
The teleport contents are unmounted when the component is unmounted.
What is actually happening?
The teleport contents are not removed. They stay there.
Comments
It has something to do with dynamicChildren. It's an empty array on the component, while in reality it contains the teleport as a child. So children are not unmounted, as is teleport.
The text was updated successfully, but these errors were encountered:
Version
3.0.0-beta.4
Reproduction link
https://codepen.io/basvanmeurs/pen/QWjMPJY?editors=1111
Steps to reproduce
Create a component using teleport. Add this component to the App via v-if. Then make sure that the v-if evaluates to false: the component will be unmounted.
What is expected?
The teleport contents are unmounted when the component is unmounted.
What is actually happening?
The teleport contents are not removed. They stay there.
Comments
It has something to do with
dynamicChildren
. It's an empty array on the component, while in reality it contains the teleport as a child. So children are not unmounted, as is teleport.The text was updated successfully, but these errors were encountered: