added focus selector

This commit is contained in:
Jannik Streidl 2024-02-27 13:30:03 +01:00
parent 6df2505bf0
commit 7c7e16c382

View File

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