-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
suggest enable modal-controller,toast-controller dismiss when click 「back button」 in browser #15422
Comments
HI @cdllqos, this seems to be the working behavior in the latest Ionic v4.0.1. Would you mind testing again on the latest and let us know? Thanks |
@elylucas nope,I mean that it should close overlay when I click Android 「back button」,I viewed source code,overlay only listened 'esc' events. And I think it should "pushstate" when creating overlay |
Bug is still present with 4.2.0. Besides Modals and Toasts I hope the fix would also consider Popovers. They should also disappear when user does press the Browser back button and browser navigates to the previous page. |
Thanks for the feature request. I am going to close this as this is not something we are looking to add at this time. Please see #16611 (comment) for a full explanation. I have included the relevant part below:
|
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Feature Request
Ionic Info
Run
ionic info
from a terminal/cmd prompt and paste the output below.Describe the Feature Request
I use modal-controller and toast-controller in android env,I tap 「back button」and the page back to last page but the modal is still present. I think there is a way to solve this problem.
Describe Preferred Solution
The text was updated successfully, but these errors were encountered: