Skip to content

Write HTML. Render video. Built for agents.

fix(studio): drop the property-group gate in the AST cache load

Miguel Angel Simon Sierra629631a72e00
diff --git a/packages/studio/src/hooks/keyframeCacheAstLoad.ts b/packages/studio/src/hooks/keyframeCacheAstLoad.ts
index 254cb20b65..6eb90b5174 100644
--- a/packages/studio/src/hooks/keyframeCacheAstLoad.ts
+++ b/packages/studio/src/hooks/keyframeCacheAstLoad.ts
@@ -137,10 +137,10 @@ export async function populateKeyframeCacheFromAst(
// group / descendant selectors, not just `#id`).
for (const id of resolveSelectorElementIds(anim.targetSelector, doc)) {
// kfData is already resolved (real keyframes OR a synthesized flat
- // tween), so a grouped flat tween joins the store like a keyframed one.
- if (anim.propertyGroup) {
- sourceByElement.set(id, [...(sourceByElement.get(id) ?? []), anim]);
- }
+ // tween), so a flat tween joins the store like a keyframed one. No
+ // property-group filter: this map must cover every tween the cache
+ // below records, or expanded lanes have nothing to render.
+ sourceByElement.set(id, [...(sourceByElement.get(id) ?? []), anim]);
const { elStart, elDuration } = resolveClipTimingBasis(id, sf, elements, domClipChildren);
const clipKeyframes = kfData.keyframes.map((kf) => {
const absTime = toAbsoluteTime(tweenPos, tweenDur, kf.percentage);