casesandberg/react-color

SliderPicker Dynamic Brightness

Open

#28 aperta il 19 ago 2015

Vedi su GitHub
 (5 commenti) (1 reazione) (0 assegnatari)JavaScript (946 fork)batch import
help wanted

Metriche repository

Star
 (11.679 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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? :)

Guida contributor