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
75.89k stars 4.77k forks source link

[bug]: Select not focus input #3444

Open namnotfake opened 7 months ago

namnotfake commented 7 months ago

Describe the bug

When selecting an element of a select that is associated with the focus input action, the input does not get focus but focuses on that select

Affected component/components

Select, Input

How to reproduce

1: Create select 2: Create Input 3: Attach events related to focus input when change value select

Codesandbox/StackBlitz link

No response

Logs

No response

System Info

Browers

Before submitting

blue86321 commented 2 months ago

same here