-
Notifications
You must be signed in to change notification settings - Fork 185
fix(history): fixes Back Button issue (#122). Issue occurs when switc… #210
Conversation
…hing tabs and navigating to children views.
I just tested on https://github.com/bitpay/copay. I can confirm it works. |
Any update about this? Copay it's looking forward to this fix 😉 |
Nothing like a PR with tests, thanks so much! 🍻 |
@mlynch can you tell me when this fix will be on production? |
I can't see this changes on the release folder. Thanks |
Hey @gabrielbazan7, since it's not part of the release yet, you'd have to build the release yourself via Ideally, we still want to be pointing to the official repo, so let's wait on @mlynch to see what the ETA is for the next release |
Thanks @ulesta, was thinking of doing a release today, need to spend some time testing |
@mlynch awesome, thanks! Keep us posted! 💯 |
Okay, code updated and the release directory updated with 1.3.3. Try cloning the repo and using the version in that directory. Our CI isn't quite hooked up to v1 now that we moved it out of the core ionic repo, so it'll be a bit before it makes it to bower/etc. |
Thanks @mlynch ! Any chance we could publish the release to NPM or at least tag it as a release on Github? Let me know! Thanks again! 😄 |
@mlynch any ETA on tagging this as a release so we can start updating our dependencies? |
I could I benefit the fix? Can I update my Ionic version with NPM or should I build a release? If so, how could I do it? |
Hi all, please find the new release files here: https://github.com/driftyco/ionic-v1/tree/master/release Unfortunately, we won't be able to get this tagged soon, our release system is in a state of flux and we don't have the automation working at the moment. For now, this is a 100% legitimate way to get the releases. Going to lock this issue so others can see the note here. Thanks. |
…hing tabs and navigating to children views.
Short description of what this resolves:
This fixes a Back Button issue (#122) which occurs when a View's
backViewId
reference is removed during a View transition (usually happens on Tab switch). This is a result of settingbackViewId
tonull
whenever there is a circular cycle (which creates an infinite loop), i.e.: T1V1 -> T2V1 -> T2V2 -> T1V1. The iteration through Views, however, does not take into account Views in the same History stack. This could potentially removebackViewId
from Views within the same History stack causing the Back Button to disappear when navigating to a child View.Changes proposed in this pull request:
backViewId
tonull
for Views not in the same History stackIonic Version: 1.3.2
Fixes: #122