fix(catalog): keep the text stagger preview inside the frame - #3255
Conversation
622a202 to
b857b2c
Compare
miguel-heygen
left a comment
There was a problem hiding this comment.
Fact-checked against the live production Catalog at hyperframes.heygen.com and rendered production vs this exact head side-by-side at the same 1920×1080 viewport and settled playback state. The reported clipping/positioning defect is real, and this preview-only change fixes it without touching the installable component or animation timeline. The generated Catalog payload matches the demo source. Approved.
miguel-heygen
left a comment
There was a problem hiding this comment.
Fresh exact-head approval after the restack. Fact-checked the live production Catalog and rendered production vs this head side-by-side at the same 1920×1080 viewport and settled playback state. The reported defect is real and this preview-only change fixes it without altering the installable component or timeline. Regenerated payload is source-identical (ignoring terminal newline); registry-item lint passes.
b857b2c to
49a20b6
Compare
What
The Text Stagger Catalog preview clips the first and last words at opposite frame edges. This keeps the complete phrase visible throughout playback.
Fixes #3253.
Why
The
2.6×wrapper scale made the demo wider than its 1920×1080 composition. The small label also had only 2.46:1 contrast against the background.How
Reduced the preview-only wrapper scale to
1.9×, changed the label to a compliant gray, and regenerated the Catalog payload. The installable component and animation timing are unchanged.Test plan
Validated with:
bun run buildbunx oxfmt --check registry/components/text-stagger/demo.htmlbun run lint:registry-items text-staggernpx hyperframes checkagainst the standalone demoBefore and after
comparison.mp4