mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-03 23:57:01 +02:00
Remove select color input on click (#708)
This commit is contained in:
@@ -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>
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user