fix: preserve initial animation state for components in rich text by lunenas · Pull Request #119 · ycode/ycode
Components embedded in rich text were missing their initial animation CSS because generateInitialAnimationCSS only walks the page-level layer tree. Rich-text component layers are namespaced differently and excluded from that traversal, causing a flash before GSAP initializes. Generate and inject initial animation CSS per embedded component block in both the React client path and the SSR HTML path. Made-with: Cursor
liamwalder
deleted the
fix/richtext-component-animation-initial-state
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters