Ion-nav-bar button disppears when routing


#1

I have a Ionic application with a nav bar and left side menu. The nav bar contains a “hamburger” button that expands the left side menu. The side menu contains a list of buttons that link to the different content areas of the application. When navigating from the items in the content menu, the content area of the application is updated correctly, and the hamburger icon remains in place in the nav bar. When navigating from a button in the content area, the hamburger icon disppears from the nav bar.

The following code demonstrates (http://codepen.io/FrizziestFuture/pen/pJgvPN). Here, the button on Page A links to Page B, but causes the hamburger icon to disappear. The side menu links work correctly.


#2

Seen the codepen. I had pretty much the same issue. Have you tried enabling this in your menu file?

<ion-side-menus enable-menu-with-back-views="true">...</ion-side-menus>

the enable-menu-with-back-views=“true” is what should fix this.


#3

That worked! Thanks, semoju!