casesandberg / react-color

:art: Color Pickers from Sketch, Photoshop, Chrome, Github, Twitter & more
http://casesandberg.github.io/react-color/
MIT License
12.05k stars 922 forks source link

ChromePicker Alpha channel reverts to 1 when changing RGB inputs #886

Open victorcarvalhosp opened 1 year ago

victorcarvalhosp commented 1 year ago

How to replicate the issue:

1 - Go to https://casesandberg.github.io/react-color/ 2 - On the Chrome Picker, click on the arrow to see the RGBA inputs

image

3 - Change the A input to 0

image

4- Now change the value on the R input to something else 5 - The A input it's now back to 1 - When the 0 value we put previously on the A input should have been maintained.

image
ParbhatKataria1 commented 1 year ago

Hi @victorcarvalhosp ! I would like to work on this issue. This is going to be my first contribution. It seems interesting to me, and I believe I can contribute a solution. Can you please assign this issue to me?

victorcarvalhosp commented 1 year ago

Hi @ParbhatKataria1 I just saw your opened PR - hope the team behind react-color approves it! Thanks!