fix(overlays): focus overlay when presented (#20997)

fixes #19882, fixes #17126
This commit is contained in:
Liam DeBeasi
2020-04-28 16:43:00 -04:00
committed by GitHub
parent c54911f451
commit fc2be8d08b
10 changed files with 11 additions and 2 deletions

View File

@ -272,6 +272,7 @@ export class Toast implements ComponentInterface, OverlayInterface {
...getClassMap(this.cssClass),
'toast-translucent': this.translucent
}}
tabindex="-1"
onIonToastWillDismiss={this.dispatchCancelHandler}
>
<div class={wrapperClass}>