Fixed: Change of CSS class during animation execution does not apply on Android

This commit is contained in:
Tsvetan Raikov
2016-04-18 11:39:26 +03:00
parent 2e15d584c0
commit 169cb3115a

View File

@ -88,6 +88,7 @@ export class CssSelector {
} }
} }
}); });
view._unregisterAllAnimations();
if (this.animations && view.isLoaded && view._nativeView !== undefined) { if (this.animations && view.isLoaded && view._nativeView !== undefined) {
for (let animationInfo of this.animations) { for (let animationInfo of this.animations) {
let animation = keyframeAnimation.KeyframeAnimation.keyframeAnimationFromInfo(animationInfo, modifier); let animation = keyframeAnimation.KeyframeAnimation.keyframeAnimationFromInfo(animationInfo, modifier);