Monday, October 21, 2019

Ionic 4 menu not working navigating to root.


I noticed that all events of root/home page isn't working after I have navigated back in my ionic 4 app.

So if you using a back button or a button to navigate to the root page use following code.

Click event of back/home menu item

  onHomeClick() {
    this.navController.navigateRoot('/menu');
    this.menuController.close();
  }



1 comment: