react-color
react-color copied to clipboard
Bumping react-color from 2.17.3 to 2.18.1 is really slowing the drag down
The Dragging functionality of the color map and the slider is obviously slowed down. It looks like I'm clicking to move the selector, but I'm actually dragging it, and it has almost a 1000ms of delay
Ditto. Rolling back to 2.17.3 helped.
Same problem. I was forced to use onChange
to replace onChangeComplete
。Then write the debounce function in it.
I confirm this. Have to stay on 2.17.3.
any updates on this? is it "works as designed" and one should work around it with debouncing onChange
or stay on the 2.17.x
version?
Same here, only 2.17.3
works properly for me currently.
Weirdly enough the docs on https://casesandberg.github.io/react-color/ work fine for me.
Here is a demo that shows this issue using the latest (2.19.3
) version.
https://codesandbox.io/s/react-color-bug-qd4ku?file=/src/App.tsx