I have a navigation path that starts on page A, then goes to page B, then on to page C. Most of my pages have an
<ion-back-button> in the header. If I hit the back button on page C, I go back to page B. Cool. BUT, if I then immediately navigate back (using the browser back button or a swipe gesture on mobile) toward page A, it takes me back to page C! Why?! I’ve been trying to figure out how to fix this for so long.
The app works fine if I use only the browser back button or only the
<ion-back-button>. And it’s like the framework goes by different rules depending on if I’m tapping the
<ion-back-button> vs. the browser back button. Are there guidelines I should code by to keep these two navigation methods in agreement?