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

[web backend] Handle keydown events correctly #1792

Merged
merged 2 commits into from
May 26, 2021

Conversation

maan2003
Copy link
Collaborator

We were sending KeyDown event before calling simulate_input which
also sends KeyDown event internally. Also now we call
event.prevent_default() if the event was handled. So we can now
remove the Backspace special case. Tab navigation is also working
correctly now

maan2003 added 2 commits May 19, 2021 16:38
We were sending KeyDown event before calling `simulate_input` which
also sends KeyDown event internally. Also now we call
`event.prevent_default()` if the event was handled. So we can now
remove the Backspace special case. Tab navigation is also working
correctly now
@SecondFlight SecondFlight added the S-needs-review waits for review label May 19, 2021
Copy link
Member

@cmyr cmyr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this seems reasonable, we had a similar issue on windows iirc. :)

@maan2003 maan2003 merged commit 057f9f9 into linebender:master May 26, 2021
@xStrom xStrom removed the S-needs-review waits for review label May 24, 2022
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.

4 participants