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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions