Closed mortengustafsson closed 2 years ago
Will look in to this @mortengustafsson
In the mean time @mortengustafsson If you're looking to catch when the animation has loaded, use
onEvent={(event) => {
if (event === 'load') ....
}}
After investigation, ready isn't fired because we manage fetching the JSON file inside the wrapper, thus lottie-web doesnt need to fetch the data and doesn't fire data_ready so we don't fire ready. As per my previous comment please check for load, and i'll see how we can make this better.
Closing this ticket, thanks for taking the time to submit it!
Overview
It seems like the event
ready
doesn't work.If I start an animation and log the events from onEvent -
ready
never shows up....
Consuming repo
Labels
Type: Bug
label to this issue.