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
69.09k stars 4.1k forks source link

[bug]: ComboBox > Form preview breaks the site. #3907

Open imohitarora opened 3 months ago

imohitarora commented 3 months ago

Describe the bug

The documentation for shadcn ui breaks on clicking Combobox > Form preview.

Affected component/components

Combobox

How to reproduce

https://github.com/shadcn-ui/ui/assets/7965137/77e4e312-b8c5-423f-bfba-c4c69063056f

Codesandbox/StackBlitz link

No response

Logs

No response

System Info

Tried in Chrome and Arc browser, 

Opening the current documentation on https://ui.shadcn.com/docs/components/combobox

Before submitting

AbduRahmanS commented 3 months ago

A similar issue happen on /examples/playground when you click on "Load a preset.." Combobox

MaximMaximS commented 3 months ago

Same fix as https://github.com/shadcn-ui/ui/commit/06cc0cdf3d080555d26abbe6639f2d7f6341ec73

Warchant commented 3 months ago

Had same problem, wrapping into CommandList solved.