We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 660d531 commit f354d91Copy full SHA for f354d91
src/components/alert/alert-component.ts
@@ -194,9 +194,14 @@ export class AlertCmp {
194
}
195
196
ionViewDidLeave() {
197
+ focusOutActiveElement();
198
this.gestureBlocker.unblock();
199
200
201
+ ionViewWillLeave() {
202
203
+ }
204
+
205
ionViewDidEnter() {
206
// focus out of the active element
207
focusOutActiveElement();
@@ -254,7 +259,6 @@ export class AlertCmp {
254
259
255
260
if (shouldDismiss) {
256
261
this.dismiss(button.role);
257
- focusOutActiveElement();
258
262
263
264
@@ -294,7 +298,6 @@ export class AlertCmp {
294
298
295
299
296
300
dismiss(role: any): Promise<any> {
297
301
return this._viewCtrl.dismiss(this.getValues(), role);
302
303
0 commit comments