-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Pressing device back button instantly closes app when navigator’s page stack count > 1 and there is toast displayed using ons.notification.toast() #2388
Comments
Thanks for the report @frosdqy, this is a good find. I had a quick look, and it could actually be a bit awkward to fix given how we currently handle the back button. The problem is that |
Hi @asialgearoid, currently I'm using this workaround:
Explanation: After calling Maybe add a new option
|
Environment
Onsen UI Version:
Framework:
Framework binding:
Additional libraries:
Platform:
Encountered problem
Pressing device back button or ESC instantly closes app when navigator’s page stack count > 1 and there is toast displayed using ons.notification.toast().
Expected: Pop the current page from the navigator's page stack instead of closing the app.
How to reproduce
The text was updated successfully, but these errors were encountered: