You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Navigator.pop call on a AlertDialog pops route twice on V7 #1065
Description
When I call Navigator.pop to close a AlertDialog shown after a button click inside a widget reached via context.pushNamed using a route declared in a module, the dialog is closed (expected result) but the route of the underneath widget is popped too, causing the application to leave the widget instead of staying on the widget (the behavior I had on V6).
Activity
PhillDubois commentedon Oct 27, 2026
I'm having the same error here when I show a Dialog using
and inside the widget I do a:
context.pop(). It's popping the current route.My modular app is setup like that:
The workaround I found for now was doing this: