casesandberg/react-color

2.14.0 Block colorpicker transparent swatch doesn't trigger onChange

オープン

#500 opened on 2018/04/12

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

Repository metrics

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

説明

<BlockPicker                                                                                    
  color="#ffffff"                                                                               
  colors={['#FF0000','transparent']}                              
  onChangeComplete={ handleColorChange }                                                        
  onChange={ handleColorChange }                                                                
/>  

Will never trigger handleColorChange on click of the 'transparent' swatch. Works correct in 2.13

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