I have an ion-side-menu on the left side, and I would like to have the ion-nav-back-button on the left side on the 2nd level navigations.
For some reason, it always goes to the right side. How do I fix this?
I have an ion-side-menu on the left side, and I would like to have the ion-nav-back-button on the left side on the 2nd level navigations.
For some reason, it always goes to the right side. How do I fix this?
What does your markup look like? If you use the following markup, it should automatically be on the left:
<ion-nav-bar>
<ion-nav-back-button>
</ion-nav-back-button>
</ion-nav-bar>
Thanks for the suggestion… Even with your advice, I still could not get the ion-nav-back-buttons to be on the left (instead of the right side)
I tried:
I eventually gave up and just manually added this to all pages i needed the ion-nav-back-button on the left side:
<ion-nav-bar>
<ion-nav-buttons side="left">
<a nav-direction="back" href="#/app/about">
<i class="button button-icon ion-ios-arrow-back positive"></i>
</a>
</ion-nav-buttons>
I know you got it working, but it sounds like there may be a structural problem. Here’s a codepen example with a sidemenu and back button, maybe it will help.