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