tres icon indicating copy to clipboard operation
tres copied to clipboard

Unmount the Canvas component instant mount it again

Open dghez opened this issue 6 months ago • 1 comments

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.

https://github.com/user-attachments/assets/68f8281e-bdf3-48d2-942b-3b52f3fdb595

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

dghez avatar Aug 08 '24 10:08 dghez