ソースを参照

Remove select color input on click (#708)

BM 5 年 前
コミット
27a1217981
1 ファイル変更0 行追加3 行削除
  1. 0 3
      src/components/ColorPicker.tsx

+ 0 - 3
src/components/ColorPicker.tsx

@@ -204,9 +204,6 @@ const ColorInput = React.forwardRef(
           onPaste={e => onChange(e.clipboardData.getData("text"))}
           onBlur={() => setInnerValue(color)}
           ref={inputRef}
-          onFocus={e => {
-            e.target.select();
-          }}
         />
       </div>
     );