mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-17 15:24:19 +00:00
The render path stripped a sub-composition's authored root element and inlined only its children, so any CSS anchored on that root (its id or classes) matched nothing in the compiled HTML even though it resolved fine in Studio preview. Pass flattenInnerRoot (the same prepareFlattenedInnerRoot used by the preview bundler) into the producer's inlineSubCompositions call so the render-time DOM shape matches preview: the authored root survives as a child of the host.