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
When using Ionic tabs and tapping on a page element, and I am routed to the correct page with a back button. To reset or go back to the home page, I can tap the tab icon at the bottom of the screen. This works as expected, however, If I tap the tab bar icon twice (or more) it seems to mess up the router navigation, so when I click on an element to go to another screen, the back button does not present itself and (on iOS) the animation slides in from the left hand side of the screen.
Expected behavior:
Similar to Instagram, I expect clicking the icon in the tab bar to reset me back to root and regardless of how many times you click the icon in the tab bar, the app should route correctly forward with a backbutton at the top left corner.
Steps to reproduce:
Here's a video displaying the issue:
0:00 -> 0:03
the correct procedure
0:04 -> End
you can see my cursor go to the icon and click twice, this triggers a stack navigation problem where the next time I click on the element, the page doesn't navigate properly (no back button and animation slides in from left iOS).
Related code:
I am using the new tabs lazy loaded navigation that was added in 4.0.0-beta18. Lots of moving parts here so just let me know if you need specific code snippets!
Here's my Lazy Loaded Tab Routes (removed other tabs for brevity)
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.
Bug Report
Ionic version:
[x] 4.0.0-rc.0
Current behavior:
When using Ionic tabs and tapping on a page element, and I am routed to the correct page with a back button. To reset or go back to the home page, I can tap the tab icon at the bottom of the screen. This works as expected, however, If I tap the tab bar icon twice (or more) it seems to mess up the router navigation, so when I click on an element to go to another screen, the back button does not present itself and (on iOS) the animation slides in from the left hand side of the screen.
Expected behavior:
Similar to Instagram, I expect clicking the icon in the tab bar to reset me back to root and regardless of how many times you click the icon in the tab bar, the app should route correctly forward with a backbutton at the top left corner.
Steps to reproduce:
Here's a video displaying the issue:
https://streamable.com/k059x
0:00 -> 0:03
the correct procedure
0:04 -> End
you can see my cursor go to the icon and click twice, this triggers a stack navigation problem where the next time I click on the element, the page doesn't navigate properly (no back button and animation slides in from left iOS).
Related code:
I am using the new tabs lazy loaded navigation that was added in
4.0.0-beta18
. Lots of moving parts here so just let me know if you need specific code snippets!Here's my Lazy Loaded Tab Routes (removed other tabs for brevity)
Here are my Home routes
The artist page navigation is triggered by:
this.router.navigateByUrl('tabs/home/${this.artist.artistUID}')
Thus when navigating the
ArtistPage
component is loaded and transitioned to!Ionic info:
The text was updated successfully, but these errors were encountered: