What did you do? Please explain the steps you took before you encountered the problem.
eatAnimalAnimation.addEventListener('complete', () => { doSomething }What did you expect to happen?
I need to do a few things before the DOM is destroyed after the animation has finished playing,but It has a certain probability of the compelete event occurs after the Canvas node is destroyed,I don't know if this is a normal behavior。
What actually happened? Please include as much relevant detail as possible.
Randomly
Environment Chrome: 90.0.4430.93 lottie-web: 5.7.5
What did you do? Please explain the steps you took before you encountered the problem.
eatAnimalAnimation.addEventListener('complete', () => { doSomething }
What did you expect to happen?I need to do a few things before the DOM is destroyed after the animation has finished playing,but It has a certain probability of the compelete event occurs after the Canvas node is destroyed,I don't know if this is a normal behavior。
What actually happened? Please include as much relevant detail as possible. Randomly