react-color
react-color copied to clipboard
Sketch & Chrome inputs stay focused on Saturation drag
Steps to reproduce:
- Have a Sketch or Chrome component in your page
- Focus on one of the inputs (either on the EditableInput component, or on the RGBA component)
- Edit the input's value (let's say that we'll update the Sketch's HEX value)
- While focused, click & drag your mouse pointer on the Saturation component above to a totally different color
Expected result:
All of the inputs should update their values respectively to the dragged saturation color
Actual result:
All of the inputs, with the exception of the focused one, update their values. The focused input updates its value only when we unfocus it.
Demonstration of the issue
P.S. You can see an example of how it's supposed to be working on the react-color demo: https://casesandberg.github.io/react-color/
@mduchev Upgrade v2.7.2