You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What did you do? Please explain the steps you took before you encountered the problem.
Use lottie.loadAnimation().
Span tags are added to body.
Destroy animation / Use another animation
More span tags are added to body even if the animation uses the same font.
What did you expect to happen?
new span tags won't be added for an existing font.
What actually happened? Please include as much relevant detail as possible.
Reloading the animation adds span tags to body without checking if the span to be added exists.
Tell us about your environment
MacOS 10.14.4
Browser and Browser Version:
Chrome 79.0.3945.88
What did you do? Please explain the steps you took before you encountered the problem.
What did you expect to happen?
new span tags won't be added for an existing font.
What actually happened? Please include as much relevant detail as possible.
Reloading the animation adds span tags to body without checking if the span to be added exists.
Reproduce here - https://jsfiddle.net/a129eyfL/
After 1st load
After a few more (see the duplication for Arvo font)
Thanks!
The text was updated successfully, but these errors were encountered: