mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
The shared engine treats every panel as an ARIA menu and preventDefault'd single-char + arrow keys, so typing in a panel with inputs (the zap comment/amount fields) was swallowed — "you can't type in the popup". handleMenuKeydown now ignores editable targets. Also relocate a pre-existing in-host panel (the in-modal zap dialog) into the body-level portal on open so position:fixed is viewport-relative instead of anchoring to the modal edge, restoring it on close. Pure DOM helpers extracted to popoverPanelDom.js to keep the engine under its cap. Co-Authored-By: Claude Opus 4.8 <[email protected]>