Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
ion-back-button goes to wrong route for tabs #17278
How you can see below it goes to wrong tab. I've tried to figure it out with outlet and later with child routes but I failed twice.
Back button should redirects me to "profile2".
Steps to reproduce:
This is indeed an issue and needs to be addressed.
Ionic does try to enforce the selection to the first tab so you see a small flicker while this happens. This can be solved by also attaching a subscription to the tabs change through the view template and if this event fires while the 1st subscription is closed then force selection to the last known tab instead. Jeez....
This was referenced
Apr 8, 2019
I have opened a PR that should resolve this issue: #18005
One of my colleagues will be reviewing it soon, but in the meantime if anyone would like to take a look and provide feedback, that would be great!
We appreciate your patience as we work to resolve this issue