[Select] non-option children are selectable if they're the first child of the Select #26149
Labels
bug 🐛
Something doesn't work
component: select
This is the name of the generic UI component, not the React module!
When I add several ListSubheader components into Select and then click on the first one - Select prints console warnings.
The bug is reproduced here:
https://codesandbox.io/s/select-1st-child-no-option-bl85u
Expected behavior:
Nothing should happen, when I`m clicking on any ListSubheader
The text was updated successfully, but these errors were encountered: