Having an issue, using latest Vite and TSParticles. When I change routes too fast TSParticles renders outside the root. I am using particles inside a component to place it in specific divs, already using the fullscreen option and works fine until fast route changes.
I have tried creating a destroy method but it doesn't seem to be working. Here is a lightweight reproduction. Try change routes fast and you will notice it extends the height of the document.
Having an issue, using latest Vite and TSParticles. When I change routes too fast TSParticles renders outside the root. I am using particles inside a component to place it in specific divs, already using the fullscreen option and works fine until fast route changes.
I have tried creating a destroy method but it doesn't seem to be working. Here is a lightweight reproduction. Try change routes fast and you will notice it extends the height of the document.
https://codesandbox.io/p/sandbox/vigorous-austin-f34z57