Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color picking dark color results in jumpy behavior #136

Open
patrickdundas opened this issue Dec 28, 2023 · 3 comments
Open

Color picking dark color results in jumpy behavior #136

patrickdundas opened this issue Dec 28, 2023 · 3 comments

Comments

@patrickdundas
Copy link

patrickdundas commented Dec 28, 2023

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

  • use the second picker on the page, under Usage section
  • Drag the color picker to the lower dark range - it jumps around and is unusable
  • For some reason, this does not occur in the "example" pickers that are not accompanied by a code snippet

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

@jaywcjlove
Copy link
Member

iShot_2023-12-29_06.05.57.mp4

@patrickdundas I have not reproduced the error you describe

@patrickdundas
Copy link
Author

patrickdundas commented Dec 29, 2023

Color.picker.component.for.React.-.Google.Chrome.2023-12-28.17-49-48.online-video-cutter.com.mp4

@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:

  • I cannot reproduce this on Firefox 121.0 (64-bit) (Windows 10) - it works as it should
  • I can reproduce this on other chromium browsers, such as Microsoft Edge, so I believe this is a Windows + Chromium issue

@jaywcjlove
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants