Sharlaan / material-ui-superselectfield

multiselection autocomplete dropdown component for Material-UI
https://sharlaan.github.io/material-ui-superselectfield
MIT License
266 stars 92 forks source link

FloatingLabel problem #137

Closed ghost closed 6 years ago

ghost commented 6 years ago

Hi. When I add the floatingLabel option, this label block the normal behavior of the component. I need to do two clicks to show the options when there aren't options selected.

I checked the same behavior in the live demo.

Why this happen? Any fast solution?

Sharlaan commented 6 years ago

Hi, nice catch there !

It actually work properly if you do NOT click on the floating label text, click :

But indeed clicking on the label triggers only the shrinking of the label, but does not trigger the opening of the options menu...

I'll try to push a fix for tomorrow.

Thanks for your report

ghost commented 6 years ago

Thank you for the quick answering.

I'll waiting the fix :)

Regards

Sharlaan commented 6 years ago

Check for the newly released v1.8.6, enjoy ^^

ghost commented 6 years ago

@Sharlaan you are a genius! Thx you so much! :)