Commit acfc7d4
committed
fix(keyup): prevent modifier key combinations from triggering Enter callback
- Add `hasNoModifiers` helper to check for Ctrl/Shift/Alt/Meta keys
- Update Enter key handling in `handleKeyUp` to ignore modifier combinations
- Retain existing Escape key logic1 parent 2cf8af4 commit acfc7d4
1 file changed
Lines changed: 3 additions & 1 deletion
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
14 | | - | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
0 commit comments