Comments (7)
tsparticles/tsparticles#5071 this is the PR that will fix this issue
from react.
Updating the engine (2.12.0) should fix this.
from react.
I just noticed you have swapped out the deep equal package again since the last release. Apologies if I have jumped the gun on this issue if it will be solved with that change. If so, any ETA on a release including that?
from react.
I've tried changing that again, but it's not related to that. The code hangs at the setTimeout
inside the play
code of the Container
class, without entering there.
I don't know why, since it's something that was already executed on the first load. It's something that I can't debug on the engine library since the code there works without issues.
I don't have an ETA about this, since it's a strange bug and I haven't figured out a way to search for similar issues.
I thought it was the compare library for the options changing, since there are recursive object that need to be ignored during the compare, but the component is never triggered by changes.
from react.
I attempted some debugging of my own and it appears to be getting into an infinite loop on the tsparticles Canvas mutationObserver here: https://github.com/matteobruni/tsparticles/blob/main/engine/src/Core/Canvas.ts#L82
I can look a bit deeper later on tonight and see if I get any further.
from react.
Thanks, that was enough for me. I didn't notice the infinite loop there. I don't understand why the MutationObserver object didn't disconnect correctly, but I've changed its management and now it resets at every refresh or stop/start cycle. A fix will be released soon.
from react.
Awesome! Glad I could help. Looking forward to the release.
from react.
Related Issues (20)
- 404 for configuration options HOT 2
- Link in readme about particles container not working
- `console.dir` is left in code HOT 2
- Particles not showing. HOT 1
- How do i stop ts particles from taking the whole background and only the background of the div its in HOT 1
- hexagons preset is not working for me HOT 1
- Convert the component using hooks HOT 7
- Fast route changes causes component render outside #root HOT 1
- How to set it to render within a certain div range instead of the entire screen HOT 1
- tsparticles causing build to fail HOT 1
- How to change the fixed of canvas to absolute? HOT 1
- Update license to MIT same as @tsparticles/engine
- Particles on one component, staying even when I scroll to another component HOT 5
- Please fix TypeScript support - object HOT 6
- Vector.js error HOT 1
- Next JS HOT 1
- Flickering Particles on projects build with React and Vite HOT 1
- [Feature Request] Support to React Native HOT 1
- Particles started loading very slowly recently HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react.