diff --git a/src/core/elementNode.ts b/src/core/elementNode.ts index 7841dae..949a52a 100644 --- a/src/core/elementNode.ts +++ b/src/core/elementNode.ts @@ -870,6 +870,15 @@ export class ElementNode extends Object { | undefined | AnimationSettings); + // If the renderer doesn't support animateProp, fall back to animating all props which is less efficient but ensures animations still work + if (!('animateProp' in this.lng)) { + const animationController = this.animate( + { [name]: value }, + animationSettings, + ); + return animationController.start(); + } + return (this.lng as any).animateProp( name, value,