Files
hyperframes/packages
Miguel Angel Simon Sierra 36ec23a1d9 fix(studio): hold a resized element's size while the timeline is rebuilt
Your log caught it across two resizes. The first commits 305x202 and the element
is 305x202 at the drop; 200ms later it renders 395x261, its stylesheet size,
while --hf-studio-width still reads 305. The second gesture then starts with
`actual` at 305 against a live box of 395, and its very first move — a pointer
delta of 0.1px — snaps the element back to 305. That snap is the jump.

The gap belongs to the soft reload: it reverts the old timeline before building
the new one, and GSAP hands back each tween's recorded starting width on the way
out. Nothing held the size in between, because the seek reapply that exists for
exactly this stands aside for elements GSAP animates.

Standing aside is right for the offset — those channels compose, and applying
both doubles the move — and wrong for size, where both channels write width and
height so the later write simply wins on the same committed number. It applies
now. Only an element mid-edit carries the vars, so nothing else is touched.

A test seeks an element whose size GSAP owns after the revert put the stylesheet
size back, and fails with the skip restored.
2026-08-08 10:36:45 -07:00
..
2026-08-07 19:50:48 -07:00
2026-08-07 19:50:48 -07:00
2026-08-07 19:50:48 -07:00
2026-08-07 19:50:48 -07:00
2026-08-07 19:50:48 -07:00
2026-08-07 19:50:48 -07:00
2026-08-07 19:50:48 -07:00
2026-08-07 19:50:48 -07:00
2026-08-07 19:50:48 -07:00