From ad6fac83cb7c4acb377b4b1620ab1a3f852bc6d3 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Fri, 21 Feb 2020 10:05:31 -0500 Subject: [PATCH] fix(modal): swipeable modal background should be able to be overridden (#20584) fixes #20572 --- core/src/components/modal/animations/ios.enter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/components/modal/animations/ios.enter.ts b/core/src/components/modal/animations/ios.enter.ts index 4a575bd0bf..58e6d9e102 100644 --- a/core/src/components/modal/animations/ios.enter.ts +++ b/core/src/components/modal/animations/ios.enter.ts @@ -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' },