themes icon indicating copy to clipboard operation
themes copied to clipboard

Select component stops responding to clicks on a corresponding label

Open stevesims opened this issue 6 months ago • 0 comments

A Select component can be used in a form, and if the Select.Trigger is given an id then a label element with htmlFor set to that id will cause the Select component to activate and show its contents.

Clicking on the Select component itself directly stops this behaviour from working. Once that has been done, the only way to activate the Select component via clicking becomes to directly click on the trigger.

stevesims avatar Jun 24 '25 16:06 stevesims