Skip to content

Commit

Permalink
fix: Also include other language characters to trigger cell focus
Browse files Browse the repository at this point in the history
  • Loading branch information
Deniz97 authored Jan 5, 2024
1 parent a205c5d commit 2d8c961
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/DataSheetGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1456,7 +1456,7 @@ export const DataSheetGrid = React.memo(
)
event.preventDefault()
} else if (
(event.key.match(/^[ -~]$/) || event.code.match(/Key[A-Z]$/)) &&
(event.key.match(/^[ -~]$/) || event.code.match(/Key[A-Z\p{L}]$/u)) &&
!event.ctrlKey &&
!event.metaKey &&
!event.altKey
Expand Down

0 comments on commit 2d8c961

Please sign in to comment.