Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upNo keyup events for letter keys on macOS #26880
Closed
Comments
|
We're getting appropriate events from winit:
|
|
get_servo_key_from_winit_key is missing all of the letter characters, of course. |
|
That's intentional, because the letter characters are received from ReceivedCharacter events from winit. However we stash the KeyDown event that was missing the key and update it with the character; there's no special processing for a KeyUp event that is missing the key. That's why script never receives any KeyUp events for letter keys. |
bors-servo
added a commit
that referenced
this issue
Jun 13, 2020
bors-servo
added a commit
that referenced
this issue
Jun 13, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If I add
println!("{:?}", key_event)toservo/ports/winit/browser.rs
Line 202 in 2e71561