Skip to content
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

Cannot navigate back a page after submitting #72

Open
hodograph opened this issue Dec 21, 2024 · 1 comment
Open

Cannot navigate back a page after submitting #72

hodograph opened this issue Dec 21, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@hodograph
Copy link

hodograph commented Dec 21, 2024

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

@hodograph hodograph added the bug Something isn't working label Dec 21, 2024
Copy link
Contributor

Hi 👋🏽 Thank you for opening your first issue with simpleclub/math_keyboard ❤

You can expect triage from us soon 🙂
In the meantime, you can try to search for similar issues in our issue database.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant