-
Notifications
You must be signed in to change notification settings - Fork 476
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
Animation freezes after navigating using 1.3.7+ #68
Comments
I've tested previous versions |
Let me know if you run into this again. Definitely sounds suspicious. We did change the render model to use an abstracted render box in the latest version (1.3.8). I'm wondering if you're running into a race condition... |
It happended again after a while, quickly coming back to previous versions didn't fix it, but i haven't cleared anything so just changed the pubspec and tried again. I'll try to find conditions when exactly this is happening, maybe tomorrow I'll have some time and post here more details. Definitely happens on |
Okay, I've tested this once again. And it works fine with Btw the feature of freezing animation when screen is in the background is great for performance and saving resources, but it should restart when popped back to the screen. |
I'm going to try to take a look at this today. If you have a source example that shows it clearly, that'd help, otherwise I can try to repro it myself. |
Thanks @luigi-rosso I'm not close to my PC now, but just place any looped animation, push and pop another screen and it's frozen, so should be easy to repro within 5mins. Thank you! |
Just a quick note on this, I have been looking into it and I can repro the issue. There are a couple conditions that are causing this which are related to performance improvements we made (like not rendering when off screen). I have a fix but now it has exposed another issue where some widgets will re-attach when they are offscreen, so I'm working through that now. I'll keep you updated here as I make progress. |
I think I have this solved now. Please give 1.3.10 a try! |
Seems to be fixed! Thank you so much for fantastic library and quick action! |
Hello! I have some looped animations on some screens in my app, they work when we enter the screen, but if we
push
another route and thenpop
the animation is frozen.So it looks like this:
push
another route (with or without an animation, if there is an animation it works fine)pop
to SCREEN_WITH_LOOPED_ANIMATION - animation doesn't playI'm using Flutter
master
channel, so ~1.4.12
and the latest flare pub1.3.8
, works fine with1.3.7
Any idea? Also tested with flutter
beta
andstable
channelThe text was updated successfully, but these errors were encountered: