hxf31891 / react-gradient-color-picker

An easy to use color/gradient picker for React.js
MIT License
144 stars 45 forks source link

Color Glitches and changes when dragging around #58

Closed madisonc33 closed 8 months ago

madisonc33 commented 1 year ago

When dragging the color around inside the large color square to choose the color 2 odd behaviors are happening: 1: Dragging around quickly can cause the color to change slightly (from purple to blue in the video) 2: Dragging to a bottom corner causes the color to change to red.

Both of these behaviors are visible in the demo picker. The color should stay the same unless changed in the rainbow slider or directly changing the inputs to something else.

https://github.com/hxf31891/react-gradient-color-picker/assets/61567086/16eba470-a7ee-44cb-9fb1-f7aee01b97c3

TurekBot commented 1 year ago

I'm seeing this as well. How odd!

hxf31891 commented 1 year ago

Hey @TurekBot & @madisonc33, thanks for pointing this out! I agree definitely strange lol. I've identified the issue and am working on a fix. Will update ASAP.

AAAAAAAAlan commented 1 year ago

+1 on this. Seems like cursor starts freaking out when near left and right bottom edges.

samcodes-io commented 1 year ago

Still seeing this issue too, any ETA @hxf31891? is there anything i can help with?

hxf31891 commented 10 months ago

Making some progress on this issue, its not perfect, still a little jumpy around the bottom 5% but the hue now stays fixed as it should. See version 2.3.2

hxf31891 commented 8 months ago

Fixed in v3.0.5