casesandberg / casesandberg/react-color

Chrome Picker - disabling alpha and then selecting a colour on the hue bar returns transparent

Open
#647 2 comments 1 reaction 0 assignees View on GitHub
bug needs author update
Dominant language
JavaScript
Stars
12.3k
Forks
920
PR merge metrics
No merged PRs in 30d

Description

How to reproduce:
- Insert a ChromePicker component, with the alpha picker disabled.
- Without adjusting the colour range, select a colour on the hue bar.
- onChangeComplete returns "transparent" as the colour selected.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the ChromePicker case with the alpha picker disabled, then trace the onChangeComplete result when a colour is selected on the hue bar. Done means that selecting a hue without adjusting the colour range returns the selected colour instead of "transparent", with a regression test covering the reproduction.

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
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.