-
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: tab sub-page navigation breaks occasionally with ionic-vue-router #29413
Comments
Thank you for submitting the issue! I was able to replicate it with your steps. |
I've also been having this issue. Or something very similar. Re-creation is pretty consistent (v8.x): Navigating back can be done by either tapping the tab button again or using an |
Any estimation on when you will look into this issue? I learned that this (or a very similar) issue already showed up in previous versions. I feel like this is a major issue as it means that ion-tabs in fact can't be used at all. |
Hi ! Any update on this ? We ran into this issue, and were forced to use component navigation, loosing the url/hashnav state, and all features for this. This problem exists since the previous versions of ionic (I tested with v7 and v7-lts). Did any one managed to use this non-linear navigation ? is it only with ionic/vue ? is there at least a way to "force" the click on a tab to go to the root of the tab (linear navigation) ? |
I have exactly the same problem as provided in example on StackBlitz. I have an app that is blocked from being deployed to the Google Play store because of this error. Using tabs is a common use case and this error is quite critical. Please prioritize if possible. Thank you. |
Also have the same problem. Is there any progress? |
Prerequisites
Ionic Framework Version
v8.x
Current Behavior
Navigating into tab sub-page and clicking on the respective tab bar in order to get to the initial tab page breaks navigation occasionally.
Either nothing happens or the following error
viewItem2 is undefined
is shown, sometimes subsequently followed by this errorenteringEl is undefined
.When this happens the navigation for the view in question stays broken. Other routes may keep working but eventually they stop working as well. The broken navigation point may starts working again.
Expected Behavior
Inside a tab navigating to a sub page and then to another tab and then back to the initial sub page and then clicking on the tab of the sub page again should lead me to the initial tab page, regardless of the order of navigation steps I took before.
Steps to Reproduce
Unfortunately there I wasn't able to identify precise steps in order to reproduce this. But I think these are steps that should work
TypeError: viewItem2 is undefined @ionic_vue_router.js:562:7
Code Reproduction URL
https://stackblitz.com/~/github.com/socialmedialabs/ionic-sample-tabs-app
Ionic Info
Ionic:
Ionic CLI : 5.4.16 (/home/ubuntu/.nvm/versions/node/v21.6.1/lib/node_modules/ionic)
Capacitor:
Capacitor CLI : 6.0.0
@capacitor/core : 6.0.0
Utility:
cordova-res : not installed
native-run : 2.0.1
System:
NodeJS : v21.6.1 (/home/ubuntu/.nvm/versions/node/v21.6.1/bin/node)
npm : 10.2.4
OS : Linux 6.5
Additional Information
The coresponding Github repo can be found here: https://github.com/socialmedialabs/ionic-sample-tabs-app
The text was updated successfully, but these errors were encountered: