diff --git a/ui/styling/css-selector.ts b/ui/styling/css-selector.ts index b30bdd5db..026d52a5f 100644 --- a/ui/styling/css-selector.ts +++ b/ui/styling/css-selector.ts @@ -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);