Hey, i’ve got a view that’s outside of my tabs, now when i try to redirect from that view to a tab i get redirected to the wrong tab. i’ve made a codepen to show you what i mean since i don’t really know how to explain it well see the logs i create in the console
add the tab-index to your state urls
and use “select(index)” of http://ionicframework.com/docs/api/service/$ionicTabsDelegate/
to activate correct tab, after go-back. btw. if you want to go only one step back in history without any special cases -> $window.history.back() will do it
I have another problem, when you click on back button the state is changing to tab.volgend (which is right) but after this is going to tab.alert state… so I’m trying to figure out why is this second redirect happening.
The second transition is made by the ionic framework, I have put a breakpoint and check the callstack, check this captures:
Why does the ionic framework force these transitions?
Issue resolved in nightly build, great work ionic team!