You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v8.x
Current Behavior
If there is a route with 2+ tabs inside ion-tabs component, and the navigation is done for more then 2 tabs, when navigating to other route without tabs the ion-page is not being removed from DOM, which makes ionic not usable at all, since it overlays over the current page and the current page is not clickable, since it is under the ion-page that should have been removed from DOM.
Expected Behavior
ion-page containing ion-tab must be removed from dom.
Steps to Reproduce
Create a dynamic route (/dynamic/:id) with 3 children (TabA, TabB and TabC)
Navigate to "/dynamic/123/a"
Swithc from "/dynamic/123/a" to "/dynamic/123/b" and then to "/dynamic/123/c"
Navigate back to "/" you will see the tabs to be present in the bottom of "/" where they don't exist.
Inspect DOM and see that both ion-pages ("/" and "/dynmic/:id") is still in DOM.
<ion-page :key="route.params.id"> Helps a little bit but not fixing the issue, at least the ion-router-outlet is being removed. However the ion-tab-bar is still not being removed.
The issue is definetely because of the dynamic route, since if tested not in a dynamic route there is no issue.
The text was updated successfully, but these errors were encountered:
after further testing i have concluded it is not related to tabs but to ion-router-outlet.
I have no idea how to debug it furher, it just not working... it shoudl remove the nested outlet but it does not.
Another weird connection is that if i switch between first two tabs it works fine and the router removed, if i switch between 1-2-3 tabs thats it it is not being removed.
Prerequisites
Ionic Framework Version
v8.x
Current Behavior
If there is a route with 2+ tabs inside ion-tabs component, and the navigation is done for more then 2 tabs, when navigating to other route without tabs the ion-page is not being removed from DOM, which makes ionic not usable at all, since it overlays over the current page and the current page is not clickable, since it is under the ion-page that should have been removed from DOM.
Expected Behavior
ion-page containing ion-tab must be removed from dom.
Steps to Reproduce
Code Reproduction URL
https://stackblitz.com/edit/ojc3imxd
Ionic Info
Additional Information
<ion-page :key="route.params.id">
Helps a little bit but not fixing the issue, at least the ion-router-outlet is being removed. However the ion-tab-bar is still not being removed.The issue is definetely because of the dynamic route, since if tested not in a dynamic route there is no issue.
The text was updated successfully, but these errors were encountered: