Closed panmona closed 6 years ago
It's hard to tell from a gif, but how are the other animations implemented? This library only animates transform an opacity so it should be quite performant, but if the other animations trigger layouts it will probably interfere with the explosion. Can you post a minimal reproducible codepen or similar?
@daniel-lundin I'll look into it.
Won't have time for that in the next time, I'll close this for now.
Maybe instead of using dom elements you could use CSS Houdini. Think this will speed things up a lot
I use this in an application of mine and we noticed quite a bit of lag in the confetti explosion. See the gif I attached:
I hope that you can resolve this issue.