Skip to content

Flutter Web: Named Routes are Bugged #43982

@khari998

Description

@khari998

There is no log output for this. I am using named routes in my Flutter web application and the back button in the browser does not always navigate to the previous route (it will navigate to a completely different route instead). Also there are times where it will navigate to the proper route (the url changes appropriately) but the application will not navigate to the route properly.

When I restart my application, my routes seem to work just fine at first. It seems like this problem only arises when navigating after a long period of time across the application. Something seems to be wrong in the cache of the application but there is no stack trace pointing to what is causing this. I am not popping any of the pages from the "stack." For all my navigation I am using Navigator.of(context).pushNamed(// Route Name)

Metadata

Metadata

Assignees

Labels

f: routesNavigator, Router, and related APIs.frameworkflutter/packages/flutter repository. See also f: labels.platform-webWeb applications specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions