fix(modal): swipeable modal styles only apply to ios (#20571)

fixes #20569
This commit is contained in:
Liam DeBeasi
2020-02-24 11:14:43 -05:00
committed by GitHub
parent ad6fac83cb
commit 3a2d82814b
2 changed files with 2 additions and 2 deletions

View File

@ -255,7 +255,7 @@ export class Modal implements ComponentInterface, OverlayInterface {
aria-modal="true"
class={{
[mode]: true,
[`modal-card`]: this.presentingElement !== undefined,
[`modal-card`]: this.presentingElement !== undefined && mode === 'ios',
...getClassMap(this.cssClass)
}}
style={{