Commit 70ee949
refactor: refine enter/space key preventDefault logic
Separate isCombobox check and apply different preventDefault logic:
- Space: prevent only when not editable
- Enter: prevent only when not combobox
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent f6401ce commit 70ee949
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
471 | 471 | | |
472 | 472 | | |
473 | 473 | | |
474 | | - | |
475 | | - | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
476 | 477 | | |
477 | 478 | | |
478 | 479 | | |
| |||
0 commit comments