casesandberg / casesandberg/react-color

ChromePicker Alpha channel reverts to 1 when changing RGB inputs

Open
#886 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12.3k
Forks
920
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Research direction

Start with the ChromePicker component and its RGBA input handling, then reproduce the steps in the issue by setting alpha to 0 and changing the R value. Done means the alpha input remains 0 after another RGB value changes, without regressing the other Chrome Picker inputs.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.