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

Allow moving through list with Tab/Shift+Tab #64

Closed
majutsushi opened this issue Oct 31, 2021 · 3 comments
Closed

Allow moving through list with Tab/Shift+Tab #64

majutsushi opened this issue Oct 31, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@majutsushi
Copy link

It would be great if you could move through the pop-up list with the Tab and Shift+Tab keys instead of just the arrow keys, this way you wouldn't have to constantly move your hand to the arrow keys just to press Down once or twice. It would be even better if in addition to this the top-most entry would be automatically selected so often you wouldn't even have to move the selection at all. Thanks!

@owen-yang
Copy link

FYI, even though the top-most entry is not automatically highlighted when a list pops up, you can actually hit enter and the top-most entry is used. And the same is true even if you've typed something into the search box.

Agree with you that Tab and Shift+Tab would be nice.

@majutsushi
Copy link
Author

Interesting, I never realized that that worked, thanks for the tip! I could have sworn that I must have pressed Enter at least once accidentally and not have it work. Having the first entry be highlighted would make this more intuitive, but it being possible at all makes things a lot more convenient.

@kewisch kewisch added the enhancement New feature or request label Aug 19, 2023
@kewisch
Copy link
Owner

kewisch commented Aug 20, 2023

I've added Tab and Shift+Tab in 38d4625. I believe auto-highlighting the first entry will add some extra complexity or make further navigation a bit awkward. I'd be open to a patch here, but I'd rather leave it as is for now.

@kewisch kewisch closed this as completed Aug 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants