mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
fix(md): do not hide page when swipe gesture is cancelled (#21247)
This commit is contained in:
@ -55,7 +55,6 @@ export const mdTransitionAnimation = (_: HTMLElement, opts: TransitionOptions):
|
|||||||
leavingPage.elements[0].style.setProperty('display', 'none');
|
leavingPage.elements[0].style.setProperty('display', 'none');
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.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