-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/packages
#260Labels
a: animationAnimation APIsAnimation APIsf: routesNavigator, Router, and related APIs.Navigator, Router, and related APIs.found in release: 1.25Found to occur in 1.25Found to occur in 1.25frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onp: animationsThe animations packageThe animations package
Description
I'm sure this is a bug with packages animation. I saw some other issue about route problems using OpenContainer, but not sure whether this is exactly the same thing.
To reproduce
This is what Page A looks like.
When tapping on a ListTile, it opens Page B like the way demo page shows. This works well.

When I was in a other random page(whatever except Page A and B). I do something like this:
Navigator.of(context).pushAndRemoveUntil(
MaterialPageRoute(
builder: (context) => PageB(),
),
ModalRoute.withName('/PageA'));
}
So I can just jump directly to Page B, without tapping on the ListTile like the normal way. And when I tap on the back icon button(implied back button in the left top) on the PageB, this happens:
What I expected: A normal Page A.
flutter doctor
aytunch
Metadata
Metadata
Assignees
Labels
a: animationAnimation APIsAnimation APIsf: routesNavigator, Router, and related APIs.Navigator, Router, and related APIs.found in release: 1.25Found to occur in 1.25Found to occur in 1.25frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onp: animationsThe animations packageThe animations package

