Hide side menu when back button is displayed

Hi,

I would like to hide the side menu icon when the back button is displayed for navigation, but I don’t know how to do it.
I’ve already searched for it, but I’ve only seen examples with both icons when it comes to navigation.

Try this:

  1. Comment out or remove the left nav button from the <ion-side-menu-content>

  2. Add this to the page where you want to display the ion-navicon.

<ion-nav-buttons side="left"> <button class="button button-icon button-clear ion-navicon" ng-click="toggleLeft()"></button> </ion-nav-buttons>

This works for now until the Ion team create a simple way to do this.

FK

2 Likes

Indeed, it’s obvious now that you’ve suggested it. Anyway, thanks :slight_smile:
I thought that the menu icon would be hidden by the navigation chevron you know…