Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: non-ASCII characters at cell focus and tests #332

Merged
merged 2 commits into from
Jan 27, 2024

Conversation

Deniz97
Copy link
Contributor

@Deniz97 Deniz97 commented Jan 19, 2024

Sorry for the previous mistake #330, turns out JS keyboard events work like this:

{ "key": "ş", "keyCode": 186, "which": 186, "code": "Semicolon", "location": 0, "altKey": false, "ctrlKey": false, "metaKey": false, "shiftKey": false, "repeat": false }

So we need to check the "key" instead of "code".

Fixed and added tests.

Copy link

netlify bot commented Jan 19, 2024

Deploy Preview for react-datasheet-grid canceled.

Name Link
🔨 Latest commit 56c525a
🔍 Latest deploy log https://app.netlify.com/sites/react-datasheet-grid/deploys/65aa763be05ca1000857a93b

@Deniz97 Deniz97 marked this pull request as draft January 19, 2024 13:14
@Deniz97 Deniz97 marked this pull request as ready for review January 19, 2024 13:16
@nick-keller nick-keller merged commit 443442c into nick-keller:master Jan 27, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants