diff --git a/src/lib/components/chat/Messages.svelte b/src/lib/components/chat/Messages.svelte index 2a9509959..aa7bde72c 100644 --- a/src/lib/components/chat/Messages.svelte +++ b/src/lib/components/chat/Messages.svelte @@ -432,11 +432,6 @@ class=" bg-transparent outline-none w-full resize-none" bind:value={history.messages[message.id].editedContent} on:input={(e) => { - e.target.style.height = ''; - e.target.style.height = `${e.target.scrollHeight}px`; - }} - on:focus={(e) => { - e.target.style.height = ''; e.target.style.height = `${e.target.scrollHeight}px`; }} /> @@ -634,17 +629,8 @@ class=" bg-transparent outline-none w-full resize-none" bind:value={history.messages[message.id].editedContent} on:input={(e) => { - e.target.style.height = ''; e.target.style.height = `${e.target.scrollHeight}px`; }} - on:focus={(e) => { - e.target.style.height = ''; - e.target.style.height = `${e.target.scrollHeight}px`; - }} - on:load={() => { - console.log('loadeddd'); - }} - on:loadstart />