Merge pull request #1985 from NativeScript/raikov/fix-1977

Fixed: Change of CSS class during animation execution does not apply …
This commit is contained in:
tzraikov
2016-04-18 12:34:37 +03:00

View File

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