casesandberg/react-color

SliderPicker Dynamic Brightness

オープン

#28 opened on 2015/08/19

 (5 件のコメント) (1 件のリアクション) (0 人の担当者)JavaScript (921 件のフォーク)batch import
help wanted

Repository metrics

Stars
 (12,322 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド