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

feat(web): merge suggestion modal: focus on Yes button by default. #15827

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

afv
Copy link
Contributor

@afv afv commented Feb 1, 2025

When merging people, I often press Enter to confirm. However, the modal closes instead of merging because the "Yes" button isn’t focused by default. Right now, I have to press Tab three times to reach it.

Could we have the "Yes" button automatically focused when the modal opens?

image

I'm new to Svelte, so if there's a more idiomatic way to implement this, please let me know!

Copy link
Contributor

github-actions bot commented Feb 1, 2025

Label error. Requires exactly 1 of: changelog:.*. Found: 🖥️web. A maintainer will add the required label.

@afv afv force-pushed the feat/enter-key-accept-merge branch from 12a2de7 to ade7ad7 Compare February 1, 2025 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant