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 5742540 commit e555eaeCopy full SHA for e555eae
src/components/alert/alert-component.ts
@@ -204,7 +204,7 @@ export class AlertCmp {
204
// and ionViewDidEnter is not in the same callstack as the touch event :(
205
const focusableEle = this._elementRef.nativeElement.querySelector('input,button');
206
if (focusableEle) {
207
- focusableEle.focus();
+ setTimeout(() => focusableEle.focus());
208
}
209
this.enabled = true;
210
0 commit comments