A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/vuejs/vue-next/issues/3623 below:

Multilayer teleport can not be remove completely · Issue #3623 · vuejs/core · GitHub

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.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4