So I have page with tabs at the top and ion-slides for content. When I swipe to the next page the tab should change.
In my slides options I am using onSlideChangeEnd to run a $ionicTabsDelegate.select(swiper.activeIndex) to change the selected tab. I put in a console log of the $ionicTabsDelegate.selectedIndex() after the select and it returns a different index then the one selected in the tabs bar.
Here is the code in codepen. Any suggestions?