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
pushReplacement is not working in flutter web #145880
Comments
Yes I did see this issue and comment. For eg. I have customer details page and from details page I have a button from which I can go to next customer's page. So if I go to n details page and then when I click on back I was getting an issue because of #145514 . So I thought on button's onTap I'll do pushReplacement instead of push. But now that also has issue. |
Thanks for the update. I was able to replicate this. stable, master flutter doctor -v
|
Steps to reproduce
Expected results
The current page should be removed from the stack and replaced with the new page
Actual results
It is working just like a normal push, no replacement is taking place. I checked with normal navigator and that does work properly in web
Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Screencast from 28-03-24 10:08:21 AM IST.webm
Logs
Logs
[Paste your logs here]
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: