Commit caa1595
Fixed the issue where Cmd+Left Arrow was being intercepted by the TreeView component.
Solution:
Added a check in the getTreeProps keyboard handler to detect when metaKey (Cmd on macOS) is pressed with Left Arrow. When detected, the handler returns early without preventing the default browser behavior, allowing Chrome's native back navigation to work.
Changes:
Modified TreeView.tsx to check for e.metaKey before handling Left Arrow key events
When Cmd+Left is pressed, the event is no longer prevented, allowing browser default behavior1 parent cf63fc9 commit caa1595
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
426 | 430 | | |
427 | 431 | | |
428 | 432 | | |
| |||
0 commit comments