We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b4a9b7 commit 64c1807Copy full SHA for 64c1807
src/lib/components/chat/ChatInput.svelte
@@ -1,5 +1,5 @@
1
<script lang="ts">
2
- import { createEventDispatcher, onMount } from "svelte";
+ import { createEventDispatcher, onMount, tick } from "svelte";
3
4
import HoverTooltip from "$lib/components/HoverTooltip.svelte";
5
import IconInternet from "$lib/components/icons/IconInternet.svelte";
@@ -110,6 +110,7 @@
110
) {
111
event.preventDefault();
112
adjustTextareaHeight();
113
+ tick();
114
dispatch("submit");
115
}
116
0 commit comments