uiwjs / react-color

🎨 Is a tiny color picker widget component for React apps.
https://uiwjs.github.io/react-color
MIT License
292 stars 98 forks source link

Color picking dark color results in jumpy behavior #136

Open patrickdundas opened 10 months ago

patrickdundas commented 10 months ago

Issue is reproducible both in code and on the live demo site: https://uiwjs.github.io/react-color/#/colorful

This occurs for several other demo pickers on the site, making this unusable in my projects. This is occurring in Chrome.

jaywcjlove commented 10 months ago

https://github.com/uiwjs/react-color/assets/1680273/11958da0-8ddc-4b9c-b7dd-2aac62af4061

@patrickdundas I have not reproduced the error you describe

patrickdundas commented 10 months ago

https://github.com/uiwjs/react-color/assets/6844039/18b68c69-6397-49d0-acad-d280f454c54c

@jaywcjlove thanks for looking. This is what I'm seeing on my end.

Using Chrome Version 120.0.6099.130 (Official Build) (64-bit) on Windows 10

Edit to add:

jaywcjlove commented 10 months ago

@patrickdundas This is a problem caused by color conversion. Using HSVA color values ​​circumvents this problem.