diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 5b75e61e1..72354cc48 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -2009,6 +2009,7 @@ class="h-screen max-h-[100dvh] {$showSidebar ? 'md:max-w-[calc(100%-260px)]' : ''} w-full max-w-full flex flex-col" + id="chat-container" > {#if $settings?.backgroundImageUrl ?? null}
{ window.setTimeout(() => chatTextAreaElement?.focus(), 0); - const dropZone = document.querySelector('body'); - + const dropZone = document.getElementById('chat-container'); const handleKeyDown = (event: KeyboardEvent) => { if (event.key === 'Escape') { console.log('Escape');