fix(studio): selectedGsapAnimations empty after gesture recording (#1646)

- include target in useGsapAnimationsForElement fetch key so a selection
  change triggers a re-fetch even at the same cache version
- add gsapCacheVersion to useDomEditPreviewSync deps so the selection
  re-syncs after every soft reload
- trim manualEditsDom.ts to 600 LOC (filesize compliance)

Fixes #1645
This commit is contained in:
Miguel Ángel
2026-06-22 14:06:53 -04:00
committed by GitHub
parent 4be81b4fb4
commit 82a5298058
5 changed files with 10 additions and 13 deletions
@@ -242,6 +242,7 @@ export function useDomEditWiring({
applyStudioManualEditsToPreviewRef,
openSourceForSelection,
getSidebarTab,
gsapCacheVersion,
});
return {