Focus while upload.

This commit is contained in:
retoor 2025-05-08 01:04:29 +02:00
parent e153811ff3
commit 0a3e151377

View File

@ -264,7 +264,11 @@
escPressed = false; escPressed = false;
messagesContainer.querySelector(".message:last-child").scrollIntoView({ block: "end", inline: "nearest" }); messagesContainer.querySelector(".message:last-child").scrollIntoView({ block: "end", inline: "nearest" });
getInputField().focus(); setTimeout(() => {
getInputField().focus();
},500)
} }
} }
if (event.shiftKey && event.key === 'G') { if (event.shiftKey && event.key === 'G') {