color-picker
color-picker copied to clipboard
Dragging outside of the color picker stops updating the color
In react-color if you click and drag outside of the color picker, it still updates the color. In color-picker the updating stops and the picker freezes.
Example: https://www.loom.com/share/8bc6a40a304944578008b01649638142
I believe it needs to be updated to use document
instead of a reference to the picker.
https://github.com/hello-pangea/color-picker/blob/main/packages/color-picker/src/components/common/Saturation.tsx#L45
The calculate change method also needs to be updated. https://github.com/hello-pangea/color-picker/blob/main/packages/color-picker/src/helpers/saturation.js