-
Notifications
You must be signed in to change notification settings - Fork 522
Routing / Navigation broken since flet 0.28.2 #5302
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
Comments
Sorry, but how would someone "navigate back through the buttons"? It works fine with the mouse: Screen.Recording.2025-05-13.at.2.12.35.PM.mov |
I have the same issue. |
Looking into that. |
Yes i mean using the mouse but clicking with it on the buttons " Visit Store" and "Go Home". Or in other words if you use |
Got it. Can reproduce. Looking into that. |
This is used
|
We've made a fix coming in 0.28.3, so won't need to change the logic. |
我是會觸發pop之後無限遞迴下去,直接把所有page.view刪光光 |
Duplicate Check
Describe the bug
Working navigation like inplemented like in this example:
https://flet.dev/docs/getting-started/navigation-and-routing/#building-views-on-route-change
seems broken or something changed and is undocumented ?
If you use the example and navigate back through the buttons (not the back arrows) it throws following error:
So something goes wrong with
page.on_view_pop = view_pop
Same app or navigation build like in example works fine in flet < 0.28.2.
Code sample
Code
To reproduce
Use example and run with flet 0.28.2
Expected behavior
That it works like in previous versions.
Screenshots / Videos
Captures
Operating System
macOS
Operating system details
15.4.1
Flet version
0.28.2
Regression
Yes, it used to work in a previous Flet version (please specify the version in additional details)
Suggestions
i dont know...
Logs
Logs
Additional details
No response
The text was updated successfully, but these errors were encountered: