-
Notifications
You must be signed in to change notification settings - Fork 30.4k
go_router_builder: TypedRelativeRoute always uses root route #182441
Copy link
Copy link
Open
flutter/packages
#11726Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listhas reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onp: go_router_builderThe go_router_builder packageThe go_router_builder packagepackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.team-frameworkOwned by Framework teamOwned by Framework teamtriaged-frameworkTriaged by Framework teamTriaged by Framework team
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listhas reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onp: go_router_builderThe go_router_builder packageThe go_router_builder packagepackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.team-frameworkOwned by Framework teamOwned by Framework teamtriaged-frameworkTriaged by Framework teamTriaged by Framework team
Steps to reproduce
dependencies
print("uri=${state.uri});RouteB().push(context)RelativeRouteA().pushRelative(context)RelativeRouteA().pushRelative(context)/routeA/relativeRouteand not/routeB/relativeRouteas I would expectExpected results
I expect to be navigated to /currentRoute/relativeRoute
Actual results
I get navigated to /rootRoute/relativeRoute
Code sample
GoRouter
router.dartroutes.dart
Screens
home_screen.dartproduct_screens.g.dart
products_list.darg
reviews.dart
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
Flutter Doctor output
Doctor output