learning_ai_common_plat/packages/use-keyboard-shortcuts/src
saravanakumardb1 6f4957d821 fix(use-keyboard-shortcuts): enforce symmetric modifier matching
Modifiers (shift, alt, meta) are now checked in both directions:
when not required, the physical key must NOT be pressed either.

Before: Cmd+K shortcut would fire on Cmd+Shift+K or Cmd+Alt+K.
After: exact modifier combination is enforced.

4 regression tests added.
2026-03-29 12:45:32 -07:00
..
__tests__ fix(use-keyboard-shortcuts): enforce symmetric modifier matching 2026-03-29 12:45:32 -07:00
index.ts feat(use-keyboard-shortcuts): shared React keyboard shortcuts hook 2026-03-29 12:40:43 -07:00
use-keyboard-shortcuts.ts fix(use-keyboard-shortcuts): enforce symmetric modifier matching 2026-03-29 12:45:32 -07:00