casesandberg/react-color

SliderPicker Dynamic Brightness

開放

#28 建立於 2015年8月19日

 (5 則留言) (1 個反應) (0 位負責人)JavaScript (921 個分叉)batch import
help wanted

倉庫指標

星標
 (12,321 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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

貢獻者指南