shadcn-ui / ui

Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source.
https://ui.shadcn.com
MIT License
62.84k stars 3.53k forks source link

[bug]: client side exception at combobox component #4061

Open hameeedurrehman opened 1 week ago

hameeedurrehman commented 1 week ago

Describe the bug

when user navigates through this link: https://ui.shadcn.com/docs/components/combobox The last example given at the end of the page, when we click on that dropdown, The client side exception appears

Affected component/components

Combobox Example Component

How to reproduce

  1. https://ui.shadcn.com/docs/components/combobox
  2. click on the last example of combobox

Codesandbox/StackBlitz link

https://ui.shadcn.com/docs/components/combobox

Logs

No response

System Info

Ubuntu, Chrome

Before submitting

selrond commented 1 week ago

https://github.com/pacocoursey/cmdk/releases/tag/v1.0.0

CleanShot 2024-06-21 at 14 48 57@2x

keremnalbant commented 1 week ago

Created PR for that: #4067 @shadcn

SachinCoder1 commented 2 days ago

Quick fix: Check this out: https://github.com/shadcn-ui/ui/issues/4106#issuecomment-2196154842

hameeedurrehman commented 2 days ago

Don't know why shadcn not merging even when people found the solution to the problem. Thousands or maybe more developers rely on this library.