mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-19 19:36:04 +00:00
Two issues caused GSAP-controlled Lottie animations to display at the wrong frame or not at all: 1. Adapter order: Lottie ran after GSAP, overriding the correct frame from GSAP's onUpdate with wrong absolute-time ms. Fix: move Lottie before GSAP so GSAP's onUpdate fires last and wins. 2. play() conflict: adapter called anim.play() causing Lottie to advance independently, fighting GSAP's goToAndStop scrubbing. Fix: remove play() from the Lottie adapter (it is optional). Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>