react-colorpickr icon indicating copy to clipboard operation
react-colorpickr copied to clipboard

Adding "show" props

Open conorhastings opened this issue 10 years ago • 3 comments

Wondering if there would be support for adding "show props" here. For example application that does not support alpha transparency can pass in prop to not show the alpha picker, etc... Thanks!

conorhastings avatar Aug 14 '15 19:08 conorhastings

If we added this it seems like we'd need to add a validation step to make sure the color picker is never initialized with an alpha < 1.

tmcw avatar Aug 14 '15 19:08 tmcw

Yeah agreed that would have to happen and makes this is a little trickier, but only if the user passes in the option to not show alpha. I'd be happy to work on something/submit a PR and see what you guys think.

conorhastings avatar Aug 14 '15 19:08 conorhastings

Would love to see a little more visibility control over UI elements in the picker. Sometimes all you want is a color field.

samanpwbb avatar Sep 16 '15 22:09 samanpwbb