Skip to content

Unmount the Canvas component instant mount children again even if canvas is not mounted #796

Closed
@dghez

Description

@dghez

Describe the bug

When you unmount the Canvas component, it instant re-mount it again, triggering onMounted callback.
I thought it was a nuxt issue but is actually unrelated, nuxt was just mount/unmount the page tha was causing the problem.

Canvas is in /about.

Screen.Recording.2024-08-08.at.12.54.15.mov

Reproduction

https://stackblitz.com/edit/nuxt-starter-k7pfzc?file=pages%2Findex.vue

Steps to reproduce

No response

System Info

No response

Used Package Manager

npm

Code of Conduct

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingp4-important-bugViolate documented behavior or significantly improve performance (priority)

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions