mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-14 13:27:13 +00:00
flattenInnerRoot in ANY form (bundler's prepareFlattenedInnerRoot or a light version without pixel dims) adds an inner root wrapper div that breaks the host's flex/grid centering: children are no longer direct flex items. This regressed chat (73 failed frames), style-7-prod (15), and overlay-montage-prod (14). The producer now uses the original innerHTML/outerHTML path with no flattenInnerRoot. James's inner root class preservation bug needs a different approach (CSS scoping change) tracked separately. The sub-comp-inner-root-class regression test is kept — it documents the current behavior and will validate the future CSS scoping fix.