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
[animations] SharedAxisTransition resets ongoing animations after SharedAxisTransition page transition is complete #55826
Hi @vasilich6107
As far i know, builder function being multiple times is perfectly normal. It's just trying to stay updated
You can try in separate, it will have same behaviour
Please see https://flutter.dev/community for resources and asking questions like this, you may also get some help if you post it on Stack Overflow.
Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
Thank you
@TahaTesser
If I have something on the second card which I show with SharesAxisTransition it will render twice.
It could result in two network requests, jiggling spinner(restarts from initial animation on each rerender...)
I made this video to illustrate what I'm talking about.
In this extra slow-motion you can definitely see how spinners on courses list after making almost full circle just reseted to the initial animation. This is caused by the second in a row animation illustrated here https://tppr.me/KSBAK
changed the title [-]Animations package, SharedAxisTransition, extra renders[/-][+][animations] SharedAxisTransition resets ongoing animations after SharedAxisTransition page transition is complete[/+]on May 6, 2020
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
TahaTesser commentedon Apr 28, 2020
Hi @vasilich6107
As far i know, builder function being multiple times is perfectly normal. It's just trying to stay updated
You can try in separate, it will have same behaviour
Please see https://flutter.dev/community for resources and asking questions like this, you may also get some help if you post it on Stack Overflow.
Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
Thank you
vasilich6107 commentedon Apr 28, 2020
@TahaTesser
If I have something on the second card which I show with SharesAxisTransition it will render twice.
It could result in two network requests, jiggling spinner(restarts from initial animation on each rerender...)
I'm just trying to understand is this a bug in
animations(https://pub.dev/packages/animations) library or this is ok behaviour...vasilich6107 commentedon Apr 28, 2020
I made this video to illustrate what I'm talking about.
In this extra slow-motion you can definitely see how spinners on courses list after making almost full circle just reseted to the initial animation. This is caused by the second in a row animation illustrated here https://tppr.me/KSBAK
vasilich6107 commentedon Apr 28, 2020
May be the authors(@shihaohong, @goderbauer) of that transition could comment on this issue?
vasilich6107 commentedon Apr 28, 2020
Thanks a lot @TahaTesser 👍
[-]Animations package, SharedAxisTransition, extra renders[/-][+][animations] SharedAxisTransition resets ongoing animations after SharedAxisTransition page transition is complete[/+]vasilich6107 commentedon May 8, 2020
flutter/packages#141
is the right PR to follow while awaiting the fix
github-actions commentedon Aug 20, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.