-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
When focusing on the input field, Input.GetKeyDown cannot detect the event. #155
Comments
because this plugins is need the keyboard event. if you want to save the string when the text updated. |
or what are your use case. when you need the key event at editing the text? |
My example is like this: I've implemented the "@" feature, just like most chat software does. When typing "@", a UI list containing names pops up. Then, I can use the arrow keys to select a name, while keeping the input box focused. |
o.i see.. but i don't know it can fulfill what you want to do or not e.g. Implementation image
|
release a new version to add callback to listen keyboard event. |
The new release works well, thank you so much |
Bug reproduction steps: Keep the input field focused (cursor blinking) and check for Input.GetKeyDown events (non-letter events, such as arrow keys) in the update function. You will find that the events are not triggered; in fact, no key events are triggered at all.
And this bug has been mentioned before. #40 you'll find that Input.anyKeyDown always be false.
The text was updated successfully, but these errors were encountered: