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
{{ message }}
Repository navigation
Settle lottie-player: wait for load, then seek to a configurable frame #78
What
Settle JS-driven animations that the 0.7.0 first-frame freeze can't reach, starting with lottie-player:
wait for getLottie().isLoaded;
then stop() and seek(n);
make n configurable, because frame 0 is often blank.
A general freezeFrame option could cover other players later.
Why
The Lottie cover on a report page is empty at frame 0. Freezing there leaves nothing to compare, and masking hides the whole illustration. A hook doing stop(); seek(60) kept the cover compared and stable across loads.
Activity
Hold lottie-player on a configurable frame