mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 04:53:58 +08:00
fix(modal): swipeable modal background should be able to be overridden (#20584)
fixes #20572
This commit is contained in:
@ -41,7 +41,7 @@ export const iosEnterAnimation = (
|
|||||||
.afterStyles({
|
.afterStyles({
|
||||||
'transform': finalTransform
|
'transform': finalTransform
|
||||||
})
|
})
|
||||||
.beforeAddWrite(() => bodyEl.style.setProperty('background-color', 'black', 'important'))
|
.beforeAddWrite(() => bodyEl.style.setProperty('background-color', 'black'))
|
||||||
.addElement(presentingEl)
|
.addElement(presentingEl)
|
||||||
.keyframes([
|
.keyframes([
|
||||||
{ offset: 0, transform: 'translateY(0px) scale(1)', borderRadius: '0px' },
|
{ offset: 0, transform: 'translateY(0px) scale(1)', borderRadius: '0px' },
|
||||||
|
Reference in New Issue
Block a user