mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 03:00:58 +08:00
feat(modal): add card-style presentation with swipe to close gesture (#19428)
resolves #18660
This commit is contained in:
@ -256,8 +256,8 @@ export const iosTransitionAnimation = (navEl: HTMLElement, opts: TransitionOptio
|
||||
|
||||
enteringTransitionEffect
|
||||
.addElement(enteringTransitionEffectEl)
|
||||
.beforeStyles({ opacity: '1' })
|
||||
.afterStyles({ opacity: '' });
|
||||
.beforeStyles({ opacity: '1', display: 'block' })
|
||||
.afterStyles({ opacity: '', display: '' });
|
||||
|
||||
enteringTransitionCover
|
||||
.addElement(enteringTransitionCoverEl!) // REVIEW
|
||||
@ -406,8 +406,8 @@ export const iosTransitionAnimation = (navEl: HTMLElement, opts: TransitionOptio
|
||||
|
||||
leavingTransitionEffect
|
||||
.addElement(leavingTransitionEffectEl)
|
||||
.beforeStyles({ opacity: '1' })
|
||||
.afterStyles({ opacity: '' });
|
||||
.beforeStyles({ opacity: '1', display: 'block' })
|
||||
.afterStyles({ opacity: '', display: '' });
|
||||
|
||||
leavingTransitionCover
|
||||
.addElement(leavingTransitionCoverEl!) // REVIEW
|
||||
|
Reference in New Issue
Block a user