Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paused Lottie Animation Doesn't show the right progression #2506

Open
clemlkc opened this issue May 29, 2024 · 0 comments
Open

Paused Lottie Animation Doesn't show the right progression #2506

clemlkc opened this issue May 29, 2024 · 0 comments

Comments

@clemlkc
Copy link

clemlkc commented May 29, 2024

Context : We want to preserve the animation progress and playing state (pause or play) of a Lottie animation when the user rotates the screen. We then save the progression, and use ClipSpec to set the right progression, after it recomposed.

Bug : When animation is on pause, and user rotates the screen, the animation is re loaded with right progress, but until we set it back to Playing, the animation shows the frame like its 0% progression. When we start playing it again, then the animation starts as expected at the progression we saved. -> It seems that the animation isn't taking the ClipSpec argument into account until it starts playing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant