Преглед изворни кода

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>
     );