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

Insert a number with a non qwerty keyboard #431

Open
giliam opened this issue Sep 5, 2024 · 2 comments
Open

Insert a number with a non qwerty keyboard #431

giliam opened this issue Sep 5, 2024 · 2 comments

Comments

@giliam
Copy link

giliam commented Sep 5, 2024

Describe the bug
I'm using When I try inserting numbers from the top row of keys above the letters, using my AZERTY keyboard, the first character corresponds to the QWERTY key instead of the AZERTY.

Current behavior
The first character inserted doesn't fit my keyboard.

Expected behavior
I expect the behavior to be the one of my keyboard.

Screenshots or gifs
Here is a gif showing an experience trying to insert digits pressing Shift key + numbers on top row in my AZERTY keyboard. You can see that it first inserts ! instead of 1 which is the corresponding character for the key in QWERTY keyboard whereas I have an AZERTY keyboard.

Later on, you see that if I double click inside the cell, the insertion is correct.

Peek 05-09-2024 10-30

Your environment details

  • Version: 4.0.5 (I cannot update it yet unfortunately)
  • Device: desktop
  • OS: Ubuntu
  • Browser: Firefox
@MichaelMatejko
Copy link
Contributor

Hi @giliam ,
would you like to test our brand new v5 alpha release? It should be working there.
Mike

@MichaelMatejko
Copy link
Contributor

To fix this quickly in 4.0.5, just copy and adjust the NumerCellTemplate to your needs.
https://github.com/silevis/reactgrid/blob/master/src/lib/CellTemplates/NumberCellTemplate.tsx

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

No branches or pull requests

2 participants