Components:Textarea: fix select all witout enableCopy
This commit is contained in:
parent
7b19827607
commit
7ddda32401
@ -78,7 +78,7 @@ const Textarea = ({
|
|||||||
}
|
}
|
||||||
|
|
||||||
function onTextareaClick() {
|
function onTextareaClick() {
|
||||||
areaRef.current.select();
|
if (enableCopy) areaRef.current.select();
|
||||||
}
|
}
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user