Skip to content
This repository was archived by the owner on May 20, 2026. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/core/elementNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Loading