ionViewDidEnter() didn't work in beta@8?


#1

Hi,

I have this in beta@7 and it work, but now don’t.

import { NavController, MenuController } from 'ionic-angular';

constructor(private nav: NavController,
            private menu : MenuController) {}

  ionViewDidEnter() {
    console.log("enter login1");
    this.menu.enable(false);
  }

  ionViewWillLeave() {
    console.info("out login1");
    this.menu.enable(false);
  }

#2

Your comment in viewWillLeave says you’re enabling the menu, but then you call enable(false).


#3

Yes, the idea is to keep disabled the menu on this page.
It worked well with the beta @ 7


#4

I try the ionic-conference exampple and it worked,