fix setTimeout -> nextTick
This commit is contained in:
parent
4481f6a338
commit
bcc2bdd8a2
|
|
@ -857,9 +857,7 @@ async function insertEmoji(ev: MouseEvent) {
|
||||||
},
|
},
|
||||||
() => {
|
() => {
|
||||||
textAreaReadOnly.value = false;
|
textAreaReadOnly.value = false;
|
||||||
setTimeout(() => {
|
nextTick(() => focus());
|
||||||
focus();
|
|
||||||
}, 10);
|
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue