mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-15 17:42:15 +08:00
fix(transition): enable ios transition shadow by default (#19051)
This commit is contained in:
@ -7,6 +7,5 @@
|
|||||||
|
|
||||||
window.Ionic = window.Ionic || {};
|
window.Ionic = window.Ionic || {};
|
||||||
window.Ionic.config = window.Ionic.config || {};
|
window.Ionic.config = window.Ionic.config || {};
|
||||||
window.Ionic.config.experimentalTransitionShadow = true;
|
|
||||||
|
|
||||||
})();
|
})();
|
@ -302,7 +302,7 @@ export class Content implements ComponentInterface {
|
|||||||
const mode = getIonMode(this);
|
const mode = getIonMode(this);
|
||||||
const { scrollX, scrollY, forceOverscroll } = this;
|
const { scrollX, scrollY, forceOverscroll } = this;
|
||||||
|
|
||||||
const transitionShadow = (mode === 'ios' && config.getBoolean('experimentalTransitionShadow', false));
|
const transitionShadow = (mode === 'ios' && config.getBoolean('experimentalTransitionShadow', true));
|
||||||
|
|
||||||
this.resize();
|
this.resize();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user