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

Back button not showing when using state.go()

$
0
0

@NomYap wrote:

So my app is set up in the following way - I have 2 tabs: Tab A and Tab B
Tab B has a sub-state, called B_1.
In Tab A, if I do state.go('B_1'), there will be no back button in B_1.
Now, my understanding is that since tabs have their own history stack, if I go directly to B_1 from A, there is no back button cause there is nothing to go back to in that tab's history as I haven't visited B. How can I circumvent this behaviour? I would like there to be a back button in B_1 to B.

Here's a codepen that illustrates the problem. Clicking Test will send you into a different tab's sub-view and a back button will not appear.

Posts: 1

Participants: 1

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>