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 5e7dbfa commit 2360be8Copy full SHA for 2360be8
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