-
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
bug: Back button does not work after switching between tabs #28419
Comments
I would be willing to look into this issue. After initial investigation I have a feeling that when pressing the back button the first time (when it is working), the But then again, I do not understand enough of the FIY: There are also some similar issues regarding the |
Thanks for the issue. I am going to close this as a duplicate of #25213. The root issue is the same as #25213 since the histories are not being preserved when switching across tabs.
|
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. |
Prerequisites
Ionic Framework Version
v7.x
Current Behavior
I have the following routes in my vue project that is using tabs:
After the navigating through
tab1/
->tab1/child1/
->tab1/child1/child2/
->tab1/child1/
(back button) ->tab2/
(via tab2 button) ->tab1/child1/
(via tab1 button), the back button does nothing. Only after clicking the back button it a second time, I get navigated back totab1/
sr.webm
Expected Behavior
After the navigating through
tab1/
->tab1/child1/
->tab1/child1/child2/
->tab1/child1/
(back button) ->tab2/
(via tab2 button) ->tab1/child1/
(via tab1 button), the back button should navigate the application totab1/
Steps to Reproduce
ionic serve
tab1/
->tab1/child1/
->tab1/child1/child2/
->tab1/child1/
(back button) ->tab2/
(via tab2 button) ->tab1/child1/
(via tab1 button)Code Reproduction URL
https://github.com/har0ke/ionic-tabs-example
Ionic Info
Ionic:
Ionic CLI : 7.1.1 (/usr/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/vue 7.5.2
Capacitor:
Capacitor CLI : 5.5.1
@capacitor/android : not installed
@capacitor/core : 5.5.1
@capacitor/ios : not installed
Utility:
cordova-res : not installed globally
native-run : 1.7.4
System:
NodeJS : v20.8.1 (/usr/bin/node)
npm : 10.2.1
OS : Linux 6.5
Additional Information
No response
The text was updated successfully, but these errors were encountered: