fix(overlays): declarative modals now work properly with the hardware back button (#24165)

This commit is contained in:
Liam DeBeasi
2021-11-05 10:04:13 -04:00
committed by GitHub
parent 5bd905d5e9
commit b3759aed5b
9 changed files with 235 additions and 6 deletions

View File

@ -252,6 +252,7 @@ export class ActionSheet implements ComponentInterface, OverlayInterface {
[mode]: true,
...getClassMap(this.cssClass),
'overlay-hidden': true,
'action-sheet-translucent': this.translucent
}}
onIonActionSheetWillDismiss={this.dispatchCancelHandler}