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

core: KeyPress events have precedence over tabbing #16415

Merged
merged 2 commits into from
May 24, 2024

Conversation

kjarosh
Copy link
Member

@kjarosh kjarosh commented May 22, 2024

When there's a button that handles KeyPress "Tab" event (code 18), the tabbing should not be performed.

A test was added to verify this behavior.

Related to #5443, as it makes FocusManager work a little better.

@danielhjacobs danielhjacobs added waiting-on-review Waiting on review from a Ruffle team member input Issues relating to user input in Flash content labels May 22, 2024
kjarosh added 2 commits May 25, 2024 01:01
When there's a button that handles KeyPress "Tab" event (code 18),
the tabbing should not be performed.
This test verifies that the KeyPress event handling
has precedence over tabbing.
@adrian17 adrian17 enabled auto-merge (rebase) May 24, 2024 23:01
@danielhjacobs danielhjacobs removed the waiting-on-review Waiting on review from a Ruffle team member label May 24, 2024
@adrian17 adrian17 merged commit 1080c8b into ruffle-rs:master May 24, 2024
17 checks passed
@kjarosh kjarosh deleted the keypress-vs-tab branch May 24, 2024 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
input Issues relating to user input in Flash content
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

3 participants