Merge pull request #941 from jannikstdl/autofocus-chat

fix: added focus selector
This commit is contained in:
Timothy Jaeryang Baek authored and GitHub committed 2024-02-27 22:59:10 -05:00
commit f347d664ac
4 files changed
+16 -8

No files matched your search

@@ -293,6 +293,9 @@
};
onMount(() => {
const chatInput = document.getElementById('chat-textarea');
window.setTimeout(() => chatInput?.focus(), 0);
const dropZone = document.querySelector('body');
const onDragOver = (e) => {