Skip to content

Cannot navigate back a page after submitting  #72

Description

@hodograph

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions