fix(animation): set fill mode to MD transition to both (#19161)

This commit is contained in:
Liam DeBeasi
2019-08-22 16:11:50 -04:00
committed by Liam DeBeasi
parent c3871b0cda
commit 0e8ab49d7f

View File

@ -16,6 +16,7 @@ export const mdTransitionAnimation = (_: HTMLElement, opts: TransitionOptions):
rootTransition rootTransition
.addElement(ionPageElement) .addElement(ionPageElement)
.fill('both')
.beforeRemoveClass('ion-page-invisible'); .beforeRemoveClass('ion-page-invisible');
// animate the component itself // animate the component itself