Remove select color input on click (#708)

This commit is contained in:
BM 2020-02-05 04:04:29 +00:00 committed by GitHub
parent e79d9f5676
commit 27a1217981
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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