casesandberg / casesandberg/react-color

SliderPicker Dynamic Brightness

Open
#28 5 comments 1 reaction 0 assignees View on GitHub
help wanted
Dominant language
JavaScript
Stars
12.3k
Forks
920
PR merge metrics
No merged PRs in 30d

Description

When passing a hex value through the color prop on the 'slider' ColorPicker, the color value is set properly (from what I can tell) on the hue slider, but the 5 swatches themselves are all different.

My expectation would be that the center swatch is auto-selected with the exact color value passed to it, as those are generally used as the visual cue for 'This is the color that is selected'.

Not a bug so much as just unexpected output? :)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.