-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
The commit 9600954 introduced a bug when using the numpad keys #2277
Comments
Yes, the behavior was changed on purpose. You should use the |
Oh, I see you mean the |
But it's not me using anything. Its a problem on the TextInput. When I press the keys on Numpad it doesn't do anything! |
Yes. I didn't check if the TextEditor is as well or not... |
Thanks for the report! #2278 should fix this. |
Well that was quick! I can confirm that does fix it for me! I tried to look in to the code to see if I could fix it, but since this was such a recent change I thought you probably could figure it out much faster, as it was! Thanks again! |
Is there an existing issue for this?
Is this issue related to iced?
What happened?
After the commit 9600954, when pressing the numpad keys, instead of producing the specific character for that key it results in the keycode as if that key was pressed with Shift modifier. For example, on my keyboard the numpad key "1" can also be used as "End" when pressed with shift. But when I press it on Iced it is always getting that key event as "End" instead of "1", no matter if I'm pressing shift or not.
This means that I can't use the numpad to write numbers on a textinput.
What is the expected behavior?
Before the mentioned commit that doesn't happen, it produces a
Character("1")
when pressed normally and aNamed(End)
when pressed with shift, as expected.Version
master
Operating System
Windows
Do you have any log output?
No response
The text was updated successfully, but these errors were encountered: