Open thesidshah opened 5 months ago
Same here
Also getting this same issue! :+1:
I thought I was going insane thank you so much haha
After adding the CommandList component, I also can't click on any of the CommandItems but pressing Enter still works to trigger the onSelect event of the item...
After adding the CommandList component, I also can't click on any of the CommandItems but pressing Enter still works to trigger the onSelect event of the item...
Yes noticed this too. @thesidshah whats your take on this?
Same issue here, also after including CommandList
@Qodestackr @atleugim that's because of the css arial-disable for CommandList, checkout my PR for changes
Just downgrade "cmdk": "^0.2.0",
until fix is merged.
Describe the bug
In the documentation, the combobox code uses a CommandGroup but not CommandList, furthermore even after adding CommandList users have to figure out why the options are disabled by default on the example code.
The breaking changes in v1.0.0 https://github.com/pacocoursey/cmdk/releases/tag/v1.0.0 are responsible for this. And the documentation needs to be updated to reflect the changes.
Affected component/components
Combobox
How to reproduce
Go to https://ui.shadcn.com/docs/components/combobox Copy the code next to the preview button Try running it.
Codesandbox/StackBlitz link
https://ui.shadcn.com/docs/components/combobox
Logs
No response
System Info
Before submitting