-
Notifications
You must be signed in to change notification settings - Fork 481
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
Disappearing animation pieces on conditional animation string switch #230
Comments
Did you ever find a solution to this? I'm having the same problem. I'm wondering if making the conditional fire a different |
Would you mind sharing your Rive files on the website? |
This was exactly it. I set keyframes at the start of all the animations for all properties that were modified in the other animations, and it now works perfectly. Thanks! |
@umberto-sonnino Thank you for the reply. When you say, "Would you mind sharing your Rive files on the website?," can you explain more where I should do that? Thank you |
@NickalasB If they are public files, can you share the www.rive.app url so that I can take a look at that animation file? Also, could you try adding an extra key to set opacity back to 1, at the beginning of each animation that need those elements to be visible? |
Flare Flutter version =
flare_flutter 2.0.1
I'm running into an issue where conditionally swapping animation strings results in part of my second animation being removed. I have tested both animations individually and they both perform as expected and don't end on an empty frame. I have tested this out with a few animations and there is consistently strange behavior.
I'm not sure if this contributes but, due to the nature of my conditional, this widget gets rebuilt repeatedly.
Here's the code:
Here's an example of the undesirable behavior. The first animation loops and is an open folder with files flying into it. The second animation does not loop and is just folder closing. When it's complete- it should just persist on the screen.
To better illustrate that only parts of the animation are disappearing- here's the same result from the same code, but with the two animations in reverse order...
as opposed to:
I appreciate any guidance.
The text was updated successfully, but these errors were encountered: