Client: Components: GlobalEvents: Dialog: fix
This commit is contained in:
parent
607451efb1
commit
98a7c0a666
@ -25,7 +25,7 @@ const Dialog = ({
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
let input = document?.getElementById("create-text-input");
|
let input = document?.getElementById("create-text-input");
|
||||||
input && input.select();
|
if (input && value === startValue) input.select();
|
||||||
}, [visible, value]);
|
}, [visible, value]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user