-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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
onTap GestureDetector on Flutter web makes the browser's previous arrow enabled #147921
Comments
Thanks for the report. I was able to replicate this using latest versions. stable, master flutter doctor -v
|
Does this only happen with |
If you are using the old navigation model, the expected behavior is that the back button is always enabled. That's because we push a history entry immediately when the app starts. The reason you don't see the back button enabled until you interact with the page is probably due to some Chrome behavior. To get a more sane navigation model, try the newer |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Steps to reproduce
Expected results
The previous arrow in the browser shouldn't be enabled
Actual results
The previous arrow in the browser is enabled. This can lead to some problems with more complicated cases where clicking on the previous arrow display a white screen. The same problem might occur with the other gestures.
Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
2024-05-07.12-55-24.mp4
Logs
Logs
[Paste your logs here]
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: