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

Use event.key instead of event.keyCode to support non-english users #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

PovarovDenis
Copy link

Using event.keyCode for history works only for the english keyboard layout. The problem is with the dot char .
In some keyboard layouts it is not 190. For example, in cyrilic layout it is 191 and so on in other layouts.
My proposal to use event.key to get the real character instead of using event.keyCode.

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.

1 participant