fix(modal): swipeable modal background should be able to be overridden (#20584)

fixes #20572
This commit is contained in:
Liam DeBeasi
2020-02-21 10:05:31 -05:00
committed by GitHub
parent 714ecaae65
commit ad6fac83cb

View File

@ -41,7 +41,7 @@ export const iosEnterAnimation = (
.afterStyles({
'transform': finalTransform
})
.beforeAddWrite(() => bodyEl.style.setProperty('background-color', 'black', 'important'))
.beforeAddWrite(() => bodyEl.style.setProperty('background-color', 'black'))
.addElement(presentingEl)
.keyframes([
{ offset: 0, transform: 'translateY(0px) scale(1)', borderRadius: '0px' },