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

onKeyPress event does not work #21

Open
rankun203 opened this issue Dec 31, 2018 · 1 comment
Open

onKeyPress event does not work #21

rankun203 opened this issue Dec 31, 2018 · 1 comment
Assignees

Comments

@rankun203
Copy link

Often times, we need to know what the last keystroke is and respond to it, in this case we are building a non-english input keyboard, which needs to listen on keystrokes. But we cannot get the onKeyPress or other events other that onChange to work.

Any input would be appreciated.

@rankun203
Copy link
Author

I'm using Electron, after some experiment, I found not just this lib, actually a normal input tag with onKeyPress will cause Electron to use all its CPU and memory and quit with out of memory error in the end. I'm using Electron 3.x.

Still, it would be appreciated if you can add one more API to this lib, for example onKey, for both typing on input box and clicks on the virtual keyboard.

@Utzel-Butzel Utzel-Butzel self-assigned this Jan 1, 2019
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