mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-10-26 01:34:51 +08:00
Each FullScreenPanel adds its own keydown listener on window, and stopPropagation does not stop other listeners on the same target, so stacked panels (pricing -> pricing editor, edit provider -> endpoint speed test) all closed on a single Escape. Track open panels in a module-level stack and only let the top one react.