Files
hyperframes/packages
Miguel Angel Simon Sierra eef500c890 fix(studio): realm-safe isHTMLElement so timeline z-index commits land
applyTimelineStackingReorder resolves the live clip from the preview IFRAME,
then gated it with `element instanceof HTMLElement` against the MAIN window's
constructor. Cross-realm instanceof is always false, so every timeline z-index
commit silently bailed ("element not live in iframe") — the drag resolved the
right z but never wrote it. Use the element's own-realm HTMLElement constructor
(matching timelineDOM.ts). Verified end-to-end: dragging a card down now lowers
its z-index and reorders the row, leaving sibling z-indexes untouched.

Unit tests missed this because the happy-dom test iframe shares a realm; caught
via a real-browser Puppeteer E2E drag.
2026-07-08 23:46:25 -04:00
..
2026-07-08 16:21:05 -07:00
2026-07-08 16:21:05 -07:00
2026-07-08 16:21:05 -07:00
2026-07-08 16:21:05 -07:00
2026-07-08 16:21:05 -07:00
2026-07-08 16:21:05 -07:00
2026-07-08 16:21:05 -07:00
2026-07-08 16:21:05 -07:00
2026-06-16 13:16:09 -04:00
2026-07-08 16:21:05 -07:00
2026-07-08 16:21:05 -07:00