Skip to content

[Teleport bug]: Unmount Teleport when it is not in use results in an error #12702

Open
@milcery

Description

Vue version

3.5.13

Link to minimal reproduction

https://stackblitz.com/edit/vitejs-vite-f3jmyg8j?file=src%2FApp.vue

Steps to reproduce

Click the Toggle button and expect component HelloWorld not to display. An actual error was reported

After uncommenting line 13, clicking the Toggle button will be normal

What is expected?

Teleport can be uninstalled without being used

What is actually happening?

An actual error was reported

System Info

No response

Any additional comments?

No response

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions