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

[Feature]: Allow selection when pressing Tab in Select #1228

Open
1 of 2 tasks
pmairoldi opened this issue Aug 15, 2024 · 0 comments
Open
1 of 2 tasks

[Feature]: Allow selection when pressing Tab in Select #1228

pmairoldi opened this issue Aug 15, 2024 · 0 comments

Comments

@pmairoldi
Copy link

Describe the feature

When looking through the w3c patterns documentation and playing around with the native HTML select it seems like Tab has some behaviour attached to it that is not present in this library.

The behaviour is that when Tab is pressed, the current "active" value should be selected and then the focus should either move to the next focusable element or the select trigger. I see that the Tab key is disabled on purpose so I was wondering if this would be something that the library should support.

image

Thanks for the great work!

Additional information

  • I intend to submit a PR for this feature.
  • I have already implemented and/or tested this feature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant