mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
fix(md): fix flicker when navigating back in MD mode on certain Android devices (#19553)
fixes #19491
This commit is contained in:
@ -50,6 +50,7 @@ export const mdTransitionAnimation = (_: HTMLElement, opts: TransitionOptions):
|
|||||||
const leavingPage = createAnimation();
|
const leavingPage = createAnimation();
|
||||||
leavingPage
|
leavingPage
|
||||||
.addElement(getIonPageElement(leavingEl))
|
.addElement(getIonPageElement(leavingEl))
|
||||||
|
.afterStyles({ 'display': 'none' })
|
||||||
.fromTo('transform', `translateY(${CENTER})`, `translateY(${OFF_BOTTOM})`)
|
.fromTo('transform', `translateY(${CENTER})`, `translateY(${OFF_BOTTOM})`)
|
||||||
.fromTo('opacity', 1, 0);
|
.fromTo('opacity', 1, 0);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user