Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Losing browsing history on Flutter Web #936

Open
joaovictor78 opened this issue Feb 14, 2024 · 0 comments
Open

Losing browsing history on Flutter Web #936

joaovictor78 opened this issue Feb 14, 2024 · 0 comments
Labels
new New issue request attention

Comments

@joaovictor78
Copy link

Describe the bug
When refreshing Flutter Modular is losing route history

Environment
dependencies:
go_router: ^13.2.0
flutter_modular: ^6.3.2

To Reproduce
Use the code provided below to reproduce.

  1. Use pushNamed on the web, when you refresh it, it loses the browsing history and the back button disappears from the appbar

Expected behavior
When using packages like go_router you get the expected behavior,
Below I am sending a video and the code using go_router package
go_router_implementation.zip

Screenshots
The problem happens in Flutter Modular when you refresh the page it loses the navigation history and the navigation button disappears, below is the same example done in go_router using flutter_modular, below I sent the video and the code

flutter_modular_implementation.zip

@joaovictor78 joaovictor78 added the new New issue request attention label Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new New issue request attention
Projects
None yet
Development

No branches or pull requests

1 participant