Components:Textarea: fix select all witout enableCopy

This commit is contained in:
Timofey Boyko 2023-12-14 13:47:18 +03:00
parent 7b19827607
commit 7ddda32401

View File

@ -78,7 +78,7 @@ const Textarea = ({
} }
function onTextareaClick() { function onTextareaClick() {
areaRef.current.select(); if (enableCopy) areaRef.current.select();
} }
useEffect(() => { useEffect(() => {