Closed spl1nt3r99 closed 9 months ago
@spl1nt3r99 I can't reproduce the problem you describe.
You can give me an example that can be reproduced
@jaywcjlove I've simplified code for issue, original was:
const onChangeColorPicker = (event: any) => {
setHsva({ ...hsva, ...event.hsva })
dispatch(updateTemporaryApplicationColorScheme(hsvaToHex(hsva)))
}
Change it to and it works as expected:
const onChangeColorPicker = (event: any) => {
setHsva({ ...hsva, ...event.hsva })
dispatch(updateTemporaryApplicationColorScheme(hsvaToHex(event.hsva)))
}
I suppose we can close this issue, because it's not relative to wheel, but react. Thank you for the quick response.
I've used code like this:
At times, when I simply click (not click, hold, and move) on the wheel, the color doesn't update immediately. I find that I have to click on the same spot again to trigger the onChange event. Do I need to use another approach?