Open Vildnex opened 2 months ago
Update:
After I've tested most of the navigation functions I faced the same issue for the following:
All of the following are SLOW:
The other ones which are below are FASTER as they should be:
@vaind try setting the reverse animation duration to zero
Hey,
Any update on this bug? @Milad-Akarie
Hi @Vildnex
From your screencast, it seems like you are using a debug build.
In Flutter, everything is way slower in debug mode.
Have you tried testing in release or profile mode?
@Vildnex try setting the reverse animation duration to zero
@Milad-Akarie, I've tested it with the animation duration 0 and also on release mode. In both of those cases, the behavior of the slow animation remains for some reason.
I made a small project in order to demonstrate this bug which can be found here https://github.com/Vildnex/test_bug/tree/master
I have to 2 RoutePage which are PageA and PageB and an another RoutePage whihc is InitialPage:
Page A:
Page B:
Initial Page:
I used CustomRoute with
noTransition
and a1
milliseconds durationApp Router:
If I will press the button to go to Page A or Page B, it is going to be instant. From page B where I used
push
going to the initial page is going to be instant. But on Page A where I usednavigate
(same problem if I usemaybePopTop
) then all the transitions will be WAY SLOWER. Is this a bug? Or why thenavigate
andmaybePopTop
are WAY SLOWER than thepush
function, or am I missing something in the configuration part?Screencast from 2024-06-20 13-16-47.webm