-
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: vue, tapping tab to go to root no longer works as expected #24934
Comments
The problem here is that tapping the Tab1 button pushes
When pushing After discussing with the team and comparing with how native tabs work, we should not be pushing |
Can you try the following dev build and let me know if it resolves the issue?
|
Thanks for your quick answer and fix ! Video: Enregistrement.de.l.ecran.2022-03-14.a.17.50.23.mov |
Thanks for testing. Can you give this dev build a try? It should resolve the issue you reported in #24934 (comment).
|
Thanks for the correction, that resolve this issue but there is another problem when I switch tabs during navigation, but maybe it is not related to this issue: There is no errors on the DevTools console A video: |
I just tried with "@ionic/vue": "^6.0.11" and "@ionic/vue-router": "^6.0.11" and there is this issue |
Thanks for the feedback. Would you mind opening a separate issue for this? You can include the same sample app, but having separate issues makes it easier for us to track bugs. |
Yes I understand and I will open another issue. |
Thanks for the issue. This has been resolved via #24935, and a fix will be available in an upcoming release of Ionic Framework. |
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
Current Behavior
When I navigate inside a tab, I can't return to the first level of the current tab with the tab button.
It happens when I use the
mode="ios"
on the<ion-router-outlet>
and the swipe back gesture.I have no errors in the DevTools console.
Expected Behavior
Be able to return to the first level of the current tab when I click on the tab button.
Steps to Reproduce
1 - Go to the localhost, I'm on the Tab 1 (url:
/tabs/tab1
)2 - Click on "Level 1" button (url:
/tabs/tab1/level1
)3 - Click on "Level 2" button (url:
/tabs/tab1/level1/level2
)3 - Swipe back (url:
/tabs/tab1/level1
)4 - Click on tab button "Tab 1" (url:
/tabs/tab1
but I'm always on tab 1 level 1)A small video to show the steps:
https://user-images.githubusercontent.com/1482715/158198427-b028dee5-c63d-45f7-a33d-f648efb7555b.mov
Code Reproduction URL
https://github.com/MimyyK/ionic-tabs-issue
Ionic Info
Ionic:
Ionic CLI : 6.18.2 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/vue 6.0.11
Capacitor:
Capacitor CLI : 3.4.3
@capacitor/android : not installed
@capacitor/core : 3.4.3
@capacitor/ios : not installed
Utility:
cordova-res : not installed globally
native-run : 1.5.0
System:
NodeJS : v16.13.0 (/usr/local/bin/node)
npm : 8.5.3
OS : macOS Monterey
Additional Information
No response
The text was updated successfully, but these errors were encountered: