Jelajahi Sumber

Remove select color input on click (#708)

BM 5 tahun lalu
induk
melakukan
27a1217981
1 mengubah file dengan 0 tambahan dan 3 penghapusan
  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>
     );