casesandberg / react-color

:art: Color Pickers from Sketch, Photoshop, Chrome, Github, Twitter & more
http://casesandberg.github.io/react-color/
MIT License
12.05k stars 922 forks source link

The issue I'm encountering with the React-Color color picker is that I'm unable to slide and select colors. What could be the reason for this? #891

Open yrjwcharm opened 1 year ago

mkecman commented 12 months ago

Have the same issue.. everything is drawn, but nothing is interactive

Moe03 commented 12 months ago

Same why can't I just slide as in the live demo? using tailwind btw does that have to do with anything?

janilamppu commented 11 months ago

Did you ever resolve this? Having the same issue, using Tailwind as well.

igords-goncalves commented 11 months ago

Same issue here. I can't slide to select color, just able to select color on click.

Kottakji commented 8 months ago

This issue can occur if there is no color / onChange property. This is not a 100% clear when looking at the first example in the docs imo.

const [value, setValue] = useState(defaultValue)

<ChromePicker color={value} onChange={({hex}) => setValue(hex)}/>