mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 05:21:52 +08:00
@ -194,9 +194,14 @@ export class AlertCmp {
|
||||
}
|
||||
|
||||
ionViewDidLeave() {
|
||||
focusOutActiveElement();
|
||||
this.gestureBlocker.unblock();
|
||||
}
|
||||
|
||||
ionViewWillLeave() {
|
||||
focusOutActiveElement();
|
||||
}
|
||||
|
||||
ionViewDidEnter() {
|
||||
// focus out of the active element
|
||||
focusOutActiveElement();
|
||||
@ -254,7 +259,6 @@ export class AlertCmp {
|
||||
|
||||
if (shouldDismiss) {
|
||||
this.dismiss(button.role);
|
||||
focusOutActiveElement();
|
||||
}
|
||||
}
|
||||
|
||||
@ -294,7 +298,6 @@ export class AlertCmp {
|
||||
}
|
||||
|
||||
dismiss(role: any): Promise<any> {
|
||||
focusOutActiveElement();
|
||||
return this._viewCtrl.dismiss(this.getValues(), role);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user