When doing Ionic project, one problem that sometime nav buttons for side menu will disappear, this is very annoying.
Here is sample code.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | <ion-side-menu-content> <ion-nav-bar class="bar-positive"> <ion-nav-buttons side="left"> <button class="button button-icon button-clear ion-navicon" menu-toggle="left"> </button> </ion-nav-buttons> <ion-nav-buttons side="right"> <button class="button button-icon button-clear ion-navicon" menu-toggle="right"> </button> </ion-nav-buttons> </ion-nav-bar> <ion-nav-view name="centre-panel"></ion-nav-view> </ion-side-menu-content> |
The solution is following: adding enable-menu-with-back-views=”true” to ion-side-menus
1 | <ion-side-menus enable-menu-with-back-views="true"> |