-
Notifications
You must be signed in to change notification settings - Fork 69
Cannot navigate back a page after submitting #72
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
When clicking the submit button in the math field I can no longer navigate back a page, neither with an android back swipe action nor the back button in the app bar.
If I click inside any input box, including the math field, then I can now navigate back again.
Unsure exactly what causes this. I tried defining my own focus node and unfocus, refocus, unfocusing again but it didn't work.
Update: wrapping the scaffolding in a PopScope and doing
onPopInvokedWithResult: (didPop, result) { if(!didPop) { Navigator.of(context).pop(); } },
Fixes it for my use case
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working