LoicMahieu/material-ui-color-picker

UI suggestions

justin-hackin opened this issue · 1 comments

This is a great little component, I got it up and running in no time and it works wonderfully!

The first time I started using it, I was surprised to find out it was updating my values whenever I changed the color in the dialog. What I was expecting is once I found my color, I could submit the value into the input (or cancel the change of the input altogether).

It would be great if this input could have this kind of "deferred mode" as a boolean prop which would make Ok and Cancel buttons appear inside the dialog.

I've found that the display of the value of the input is not attractive or readable in many cases. I would much prefer to have a little square that was filled by the selected color. I might fork and add the feature, would you take a PR for the feature as a boolean prop?

Hi @justin-hackin
Thanks for suggestion! Indeed it could be a nice optional behavior.
Of course, feel free to create a PR and it'll obviously be merged.