-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Make keyboard interactions in the settings menu more pleasant #78876
Make keyboard interactions in the settings menu more pleasant #78876
Conversation
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this waiting on #78868?
@@ -50,5 +66,5 @@ | |||
} | |||
} | |||
|
|||
setEvents(); | |||
window.addEventListener("DOMContentLoaded", setEvents); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I realized that the script was loaded before the DOM. In itself, it seems to be working but I guess it doesn't hurt to be sure that the DOM is actually there before trying to work on it.
Not really. It'll be possible to use it only when it's in but the changes don't conflict. |
Updated! |
b9cb1e6
to
22f39f9
Compare
Do you mind rebasing this so it's possible to test? Right now I can't try it out. |
22f39f9
to
14ecee7
Compare
Done! You can now test with all changes included. |
@bors r+ Works great, thanks! |
📌 Commit 14ecee7 has been approved by |
…ard-ux, r=jyn514 Make keyboard interactions in the settings menu more pleasant rust-lang#78868 improved the keyboard interactions with the settings page. This PR goes a bit further by allowing more than just "space" to toggle the checkboxes. r? `@jyn514`
☀️ Test successful - checks-actions |
#78868 improved the keyboard interactions with the settings page. This PR goes a bit further by allowing more than just "space" to toggle the checkboxes.
r? @jyn514