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

keyCode differs on AZERTY keyboard #23

Open
lagroms opened this issue Sep 22, 2021 · 0 comments
Open

keyCode differs on AZERTY keyboard #23

lagroms opened this issue Sep 22, 2021 · 0 comments

Comments

@lagroms
Copy link

lagroms commented Sep 22, 2021

Hello,

I'm trying to implement a mention system on my react app.
I noticed that the keycode:50 and shiftkey:true will still be triggered even though the input will be '2' on an azerty keyboard. Knowing people might potentially use an azerty keyboard this is pretty blocking. Is there a way to trigger not based on a keyCode, but with a simple string comparison ?

Thanks

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

1 participant