fix(animation): properties can be cleared after animation finishes (#19155)

* remove certain properties when done animating

* fix bug, add more tests

* clean up

* bug fix
This commit is contained in:
Liam DeBeasi
2019-08-22 16:12:17 -04:00
committed by GitHub
parent 62a04d76f1
commit 50a92c026c
5 changed files with 164 additions and 14 deletions

View File

@ -138,7 +138,7 @@ export const iosTransitionAnimation = (navEl: HTMLElement, opts: TransitionOptio
enteringToolBarBg
.beforeClearStyles([OPACITY])
.fromTo(OPACITY, 0.01, 1);
.fromTo(OPACITY, 0.01, 1, true);
// forward direction, entering page has a back button
enteringBackButton.fromTo(OPACITY, 0.01, 1);