-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
Select Keyboard Shortcuts Bug #602
Comments
Closing as fixed in |
Hi! @next is closer to native, but still not 100%. when there are multiple options hitting the leading character again does not cycle through the options. for example US States 'T' goes to "TX" instead of "TN" as the native select does, then hitting 'T' does not cycle through 'TN' and TX'. Let me know if a repro would help, in theory the old demo still still demonstrates the issue but its still pointing @latest. Thanks! |
After testing again, when the select box is open 'Tx' is selected as stated about, When closed 'Tn' is selected. neither state will cycle correctly. |
Describe the bug
When focused on a select trigger, typing "a" on the keyboard should select the first element in the list that starts with "a", instead the first key click opens the popover and the next click focuses the appropriate item and subsequent clicks work appropriately.
to reproduce
focus native select element
type
s
"Svelte Orange 1" is selectedtype
s
again "Svelte Orange 2" is selectedtab to focus bits-ui select element
type
s
popover is openedtype
s
again "Svelte Orange 1" is selectedtype
s
again "Svelte Orange 2" is selectedReproduction
https://stackblitz.com/edit/github-qqrtjo?file=src%2Froutes%2F%2Bpage.svelte
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: