-
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
Ability to disable returning to a previous tab when a hardware back button is pressed #7263
Comments
Our Android testers noticed this behavior immediately and thought it was a bug in the app. We would also like the option for the back button to pop the navigation stack rather than go to the previous tab. |
We had the same issue. Currently, we are handling this by having the root pages of the tabs extend from this base class:
|
Hello all! Thanks for using Ionic! Since we are going to use this issue as a tracking issue for this and other back button issues on Android i will be closing this issue as a duplicate. Thanks for using ionic! |
Short description of the problem:
An application has root tab-based navigation. When a hardware back button is pressed a previous tab is selected until selection history is empty, only after that the application is exited.
What behavior are you expecting?
A way to disable current behaviour for a particular case: when a hardware back button is pressed then an application is exited immediate regardless of tab selection history.
Which Ionic Version?
v2 (2.0.0-beta.10)
The text was updated successfully, but these errors were encountered: