Explorar o código

Remove select color input on click (#708)

BM %!s(int64=5) %!d(string=hai) anos
pai
achega
27a1217981
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  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>
     );