[Select] Can't fire a click event inside #35488
Labels
bug 🐛
Something doesn't work
component: select
This is the name of the generic UI component, not the React module!
Milestone
Duplicates
Latest version
Steps to reproduce 🕹
Making the chips deleteable would seem to be a straightforward extension of this example from the docs:
Current behavior 😯
This fails because the chip never sees a click event -- it's intercepted by the Select, apparently. See code sandbox example.
Expected behavior 🤔
The chip should register a click event (which I can stop from propagating if I want).
It seems from this issue that the solution is to switch to an Autocomplete instead. Ok, that looks like it will probably do what I want, but I have some code built around the
Select
component, and it's not clear why the Select needs to work differently here.Is there some way to make this work with Select?
Your environment 🌎
npx @mui/envinfo
The text was updated successfully, but these errors were encountered: