We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50eb455 commit 52fbbb6Copy full SHA for 52fbbb6
packages/go_router/lib/src/parser.dart
@@ -161,7 +161,7 @@ class GoRouteInformationParser extends RouteInformationParser<RouteMatchList> {
161
});
162
},
163
onCanNotEnter: () {
164
- // If blocked, "stay" on last successful match if available.
+ // If blocked, stay on the current route by restoring the last known good configuration.
165
if (router.routerDelegate.currentConfiguration.isNotEmpty) {
166
return SynchronousFuture<RouteMatchList>(
167
router.routerDelegate.currentConfiguration,
0 commit comments