@matharu_techie Thanks for sharing! It's intuitive approach but we can do better if we implement a custom Element. This way we can avoid overhead of requesting layouts from Taffy and calling lots of animation functions
@matharu_techie Oh, I see, thanks for clarifying it. It depends on how the animation is implemented, since there are multiple ways. I think it's possible to go full FPS slamming, if you're constantly calling window.request_animation_frame() on each frame. Would be nice to see the source code!