mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-16 22:58:02 +00:00
Interactive decks move focus into the player iframe when the presenter clicks a slide; keydown then fires in the iframe document and never reaches the component's top-window listener, so arrow-key navigation silently died after any in-slide click. The component now forwards keydown from the (same-origin) composition iframe's contentWindow into the same onKey handler, re-attaching on every iframe load since navigation clears parent-attached listeners. The text-entry guard is duck-typed instead of instanceof so inputs inside the iframe realm are still recognized and typing never navigates. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>