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