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

AnimationKeypath and ValueProvider not work as previous version #2428

Open
iCeors opened this issue Jun 13, 2024 · 1 comment
Open

AnimationKeypath and ValueProvider not work as previous version #2428

iCeors opened this issue Jun 13, 2024 · 1 comment

Comments

@iCeors
Copy link

iCeors commented Jun 13, 2024

Which Version of Lottie are you using?

Lottie 4.4.1

Expected Behavior

For example, set AnimationKeypath, for example, **.Opacity, to 0, to hide the animation.

There should be a way to recover the animation so that I can make a Lottie Animation based interactive page.

Actual Behavior

Actually there is no way to set it back to original status.

Set opacity to 100, animation freeze, no opacity animation at all, since it is set to a fixed value.

In previous version, there is a trick to achieve the 'Expected Behavior' , on LottieAnimationView, set the animation back to itself, animation will recover its original status. In new version, this trick doesn't work.

@calda
Copy link
Member

calda commented Sep 10, 2024

It is now possible to remove value providers: #2474

Will this solve your issue?

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

No branches or pull requests

2 participants