Ionic-framework: bug: History wrongly switches between different history stacks

Created on 15 Jul 2015  路  2Comments  路  Source: ionic-team/ionic-framework

In the following codepen for the sequence Facts => OtherPage => OtherPage1 => ReturnToTabsHome the back button is not displayed and the $ionicHistory.goBack command wrongly switches to a different history stack.

I am using a root history stack and then 3 history stacks for each tab page.

When one has previously been on the TabHomePage (sequence Facts => Back => OtherPage => OtherPage1 => ReturnToTabsHome) it is working (it goes to special case in history.js line 254)

Issue seems that the backviewId in history.js line 357 is wrongly assigned.

Can you review the suggested fix ? It is working for my usecase.

Most helpful comment

This has not be fixed (the guy who logged the bug seems to have given up and forked ionic to solve his pb)! Please reopen!

All 2 comments

Greetings @fhoring!

I've closed this issue because my sensors indicated it was old and inactive, and may have already been fixed in recent versions of Ionic. However, if you are still experiencing this issue, please feel free to reopen this issue by creating a new one, and include any examples and other necessary information, so that we can look into it further.

Thank you for allowing me to assist you.

This has not be fixed (the guy who logged the bug seems to have given up and forked ionic to solve his pb)! Please reopen!

Was this page helpful?
0 / 5 - 0 ratings