Remove select color input on click (#708)
This commit is contained in:
parent
e79d9f5676
commit
27a1217981
@ -204,9 +204,6 @@ const ColorInput = React.forwardRef(
|
|||||||
onPaste={e => onChange(e.clipboardData.getData("text"))}
|
onPaste={e => onChange(e.clipboardData.getData("text"))}
|
||||||
onBlur={() => setInnerValue(color)}
|
onBlur={() => setInnerValue(color)}
|
||||||
ref={inputRef}
|
ref={inputRef}
|
||||||
onFocus={e => {
|
|
||||||
e.target.select();
|
|
||||||
}}
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user