-
Notifications
You must be signed in to change notification settings - Fork 163
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
Keyboard interactions not working on dropdown combobox ⌨️ #271
Comments
Was thinking of using a dropdown box for #216 , I could take a look at this if by the time it becomes relevant someone else hasn't picked it up? |
Happy to pick this up too :) |
You've got it! @hebronmekuria |
Progress: so far, it seems that making the dropdown menu's into Radix components doesn't work because the children props are not the right type (they need to be DropDown.Item). Just wanted to make this update, will wrap up soon. |
@tomas-salgado I have a question... |
I haven't made any relevant changes to combobox-popover yet, just trying to figure out what here is triggering the button and why I can't use Radix's DropdownMenu.Trigger properly. |
@hebronmekuria thanks for the update! I'm going to take a closer look at this tomorrow, but yeah it'd be great if you could put up a PR with what you already have. No worries if there are bugs so far, just put it as a draft PR and we'll work through it! |
PR is up! I'm not good with frontend, so let me know if I'm completely off base or what tips you have to figuring out the trigger issue!😁 @tomas-salgado |
Hey @hebronmekuria, sorry for the delay with this. I've been trying to investigate further but I haven't been able to figure out the issue yet (frontend is also not my forte 😅 ). I'll connect with Rami on this when he's back and he should have more insight on how to proceed |
Someone from Supabase implemented a MultiCombobox w/ keyboard support. demo: https://supabase-design-system.vercel.app/design-system/docs/fragments/multi-select#badge-combo-box |
Description
This has been an issue for quite a while and this affects all dropdown components - we currently don't have accessible dropdowns that support keyboard interactions.
Steps to Reproduce
Steps to reproduce the behavior:
/resources/add
.Expected Behavior
A user should be able to navigate with their keyboard.
Additional Context
This will require a working in our underlying
ui
package, specifically theComboboxPopover
andDropdown
components. I'm interested in what Radix has to offer with theirDropdownMenu
component, instead of building this in-house.The text was updated successfully, but these errors were encountered: