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

SelectNext: Jump to the first option matching pressed key #1315

Open
acelaya opened this issue Oct 11, 2023 · 0 comments
Open

SelectNext: Jump to the first option matching pressed key #1315

acelaya opened this issue Oct 11, 2023 · 0 comments

Comments

@acelaya
Copy link
Contributor

acelaya commented Oct 11, 2023

Try to mimic the native select behavior, by making the first option matching pressed keys to be focused/selected.

It might require an optional callback to be provided for this to work, as values can be objects and then, it's not immediately obvious what would be the right way to determine the first option that matches pressed key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant