Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Navigation stack broken after switching tab programmatically

$
0
0

@tobias_philipp wrote:

Hi there,
I got an application based on the tab template. In my initial tab I got a slider. Once I tap on an item in this slider I need to navigate to another tab and there again navigate to a subpage. I know it is not best GUI design to cross tabs like that but it's an requirement for the app.
So here's what I got (cut down to the basic problem):

$scope.swiper =  new Swiper('.swiper-container',{
     onTap:function(swiper,event) {
     var clickedSlide = <getSlideIndex>
     $state.go('^.station', {stationId:clickedSlide});
}

This is actually working. Problem is, I don't get any back button. There's no way to navigate to the "parent view". The view I'm accessing here is also accessible just by selecting the tab and then tapping a list-item. Doing it this way navigation works without any problem.

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>