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
Navigation not working when switching between 2 lazy loaded pages with tabs #12697
Comments
Hi @christian-hager, I'll check this out as soon as I get a chance. It might be a few weeks as we're all hands on deck with a large refactor for Ionic 4 right now and not really fixing bugs presently. Bug fixing will resume shortly. Thanks, |
I would like to second this issue. I have been seeing this same thing. Even the URL changes incorrectly, the last segment doesn't change to reflect the new page. Also, I have noticed that this issue only occurs when moving from tabs section to another tabs section. If you go to a plan page them to the other set of tabs then navigation seems to be as expected. |
I can confirm this issue. Has anyone found a workaround yet like unsetting the active tab from the previous page manually before setting the new tabbed page as new page root? |
OK, here is a solution. By defining the url segment of the path on the tab itself, page changes are handled correctly. An excerpt from
...and from one of the tabbed pages:
Notice the empty |
Hi, We'll take a look at this ASAP. Thanks, |
Going to close and track the issue here: Thanks, |
Ionic version: (check one with "x")
[x] 3.x
I'm submitting a ... (check one with "x")
[x] bug report
Current behavior:
When switching between 2 lazy-loaded pages with tabs the page from the tab that was selected in the source tabs page is displayed in the target tabs page.
Expected behavior:
The target tabs page should show the page which is set in its selected tabs root parameter.
Steps to reproduce:
Other information:
Something similar happens if I switch from Tabs to Tabs2 and then to the SplitPane. In this case the right side of the Splitpane shows Tab3.
Ionic info: (run
ionic info
from a terminal/cmd prompt and paste output below):The text was updated successfully, but these errors were encountered: