@grege wrote:
I have a problem where the back button doesn't display when a state change is invoked from a nested view.
See plunker: http://plnkr.co/edit/Jkjxvv?p=preview
I'm trying to replicate a segment control common in native apps using a tab-bar. Tapping a link in the subview (in the content of the 'segment' or 'tab) changes the state as expected. However, the state change isn't added to the ionic history, and there is no back button in the ion-nav-bar.
In the plunker demo, try tapping/clicking a field item in the list view. It navigates to the new view, as expected, but there is no back button. If you were to log $ionicHistory.viewHistory() it would display null. The expected behaviour is that the back button would display and tapping it would take the user back to the previous view.
Posts: 3
Participants: 2