@paoesco@Pisix and anyone having this issue, if your app has a menu when logged and doesn’t have it when the user is not logged, it may be due to the css applied to the ion-content (.menu-content-open ion-content -> pointer-events: none;). It happened in my case; if I comment this css everything works fine. This css is not the problem, but the fact that the menu is opened (or better, the app think it is opened, but there is no menu). If this is your case, and you hide the menu with ngIf, try to use hidden instead:
In my case I was only receiving this error on Android and tought to be an Android specific issue, but that was because the menu was showing always in the split pane in the browser (because the screen is larger, the menu doesn’t show blocking the page behind it, but instead it always appears next to the page, to the left). When I tested logout with small screen width the same error ocurred in browser.
If after the logout the first click doesn’t work (the next clicks should work), the app may be seeing the menu as opened (even tough it’s hidden). You could add some code like the one below to manually close the menu in that case.
import { MenuController } from 'ionic-angular';
constructor(private menuCtrl: MenuController) {}
...
handleShowState() {
let showMenu = this.someService.isLogged();
if (this.showMenu && !showMenu) {
this.menuCtrl.close();
}
this.showMenu = showMenu;
}