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: Navigation stops working for nested ion-router-outlet #18197
Comments
any progress with this? This is a blocking bug to my project |
Hitting similar issue +1 |
Got some annoying issue, nested |
+1 |
+1 |
+1 This came with some minor styling adjustment for the ion-app and loaded page components, but compared to the issues we faced using the outlet (ActivatedRoutes not having observable properties, lifecycle hooks not properly firing, nested views not navigating) it was a no brainer. The loss of cached pages is regrettable, but it also negated one of our most frequent sources of bugs. |
I have similar issue. Only using |
Is there a Ionic alternative for |
This is a major issue. I've stuck more than a week to finally spot the origin of my bugs. So If you have an ionic v4 app with:
You will probably get some bugs when changing parent routes / menu / side-pane. How could i know that the problem is related to I've check with a chrome://inspect to DOM of my app, i could see that during a parent swap navigation the old DOM for the page is stored and hide with So i could have dom like this, with first navigation to main page B.
If i navigated back to main page A the bug will occurred a do:
And now the hell begins, cause with side-pane/menu, you will have bugged related to the fact that multiple dom instance are present for them. workaround: Actually, i only have 2 That's not the best ... but i hope ionic team will fix this shit. |
Bug Report
Ionic version:
[x] 4.3.1
Current behaviour:
Using child-routes stops working using nested
ion-router-outlet
s.Issues that could be related: #17638, #17825.
1st
If
links
andion-router-outlet
are placed insideion-content
links are not clickable.If links are placed outside
ion-content
they are clickable.2nd
Only the first navigation to a child route works.
After this, the view is not updated anymore.
Expected behaviour:
Steps to reproduce:
git clone https://github.com/GregOnNet/ionic-4-jest-setup.git
cd ionic-4-jest-setup.git
git checkout routing
npm install
ionic serve
Related code:
Ionic info:
The text was updated successfully, but these errors were encountered: