I just updated to beta 11 and after switching to the new way of doing alerts, the button handlers are not being triggered when the buttons are clicked.
Anybody else running into this?
I just updated to beta 11 and after switching to the new way of doing alerts, the button handlers are not being triggered when the buttons are clicked.
Anybody else running into this?
Actually the alert is not even dismissed without a handler either:
let alert = this.alertController.create({
title: 'Email Sent',
subTitle: `Password reset instructions have been sent to your email.`,
buttons: ['Ok']
});
alert.present();
I did some looking and here’s the situation:
ionViewDidEnter
from being fired on the Alert component.ionViewDidEnter
never fires, the alert component’s enabled
property never gets set to true, and this short circuits the button clicks.bug submitted here: https://github.com/driftyco/ionic/issues/7568