From a5d3c6bcd22ee17dce50f216b45cd1569274db09 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Thu, 8 Aug 2019 12:30:02 -0500 Subject: [PATCH] fix(transition): enable ios transition shadow by default (#19051) --- core/scripts/testing/scripts.js | 1 - core/src/components/content/content.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/core/scripts/testing/scripts.js b/core/scripts/testing/scripts.js index d5cc361166..c2fabe6d09 100644 --- a/core/scripts/testing/scripts.js +++ b/core/scripts/testing/scripts.js @@ -7,6 +7,5 @@ window.Ionic = window.Ionic || {}; window.Ionic.config = window.Ionic.config || {}; - window.Ionic.config.experimentalTransitionShadow = true; })(); \ No newline at end of file diff --git a/core/src/components/content/content.tsx b/core/src/components/content/content.tsx index 8e5734fb5e..039d23bcdf 100644 --- a/core/src/components/content/content.tsx +++ b/core/src/components/content/content.tsx @@ -302,7 +302,7 @@ export class Content implements ComponentInterface { const mode = getIonMode(this); const { scrollX, scrollY, forceOverscroll } = this; - const transitionShadow = (mode === 'ios' && config.getBoolean('experimentalTransitionShadow', false)); + const transitionShadow = (mode === 'ios' && config.getBoolean('experimentalTransitionShadow', true)); this.resize();