mirror of
https://github.com/rommapp/romm.git
synced 2026-12-03 02:24:09 +01:00
RMenu's click-outside check no longer keeps its own registry of child panels. Every open overlay already sits on the shared escape stack with a panel getter, in open order, so a new `isInsideEscapableAbove` helper answers "is this press inside something opened above me?" for nested menus, and for dialogs or drawers opened from a menu too. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01S76JZm1jjh32KhBbPCBvGW