-
-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Closed
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.🐞 bugSomething isn't workingSomething isn't workinghas workaroundA workaround has been found to avoid the problemA workaround has been found to avoid the problemscope: teleport
Description
Version
3.0.11
Reproduction link
https://codepen.io/jsqy/pen/xxgJWdw
Steps to reproduce
This is just one example, the reality will be more complex, but the principle should be the same.
Reproduction link: Click the "change" button to control the alternate display of the two divs, but the teleport in the #pop does not uninstall with the uninstall of the div.
What is expected?
Because I often use teleport in components, and the component's slot may also contain teleport, the elements in the #pop are not completely unmounted.
What is actually happening?
A multi-layered teleport can cause exceptions.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.🐞 bugSomething isn't workingSomething isn't workinghas workaroundA workaround has been found to avoid the problemA workaround has been found to avoid the problemscope: teleport