Back button not working as expected ***


#1

I´m having trouble with Back button when I navigate from one state to a deeper level state. I´m using Ionic latest 1+ version.

Suppose I have State A, State B and State C.

  • I navigate from State A to State B (using $state.go(state))
  • If I press back button, I return to State A.
  • I navigate from State A to State B, and from State B to State C.
  • If I press back button, I return to State A

I expected to return to State B, not State A. I printed on console the history data and it appear when I navigate from State B to State C it keeps the same navigation history as I was going from State A to State B. Anyone know if its a bug? Or maybe a limitaiton of stte levels? Or maybe I´m doing something wrong.

Thanks

Besta Regards