From 1a63030451144ad676cbac749224339d23d4fe67 Mon Sep 17 00:00:00 2001 From: Nate Card <98140806+natecard@users.noreply.github.com> Date: Fri, 27 Sep 2024 06:33:40 -0400 Subject: [PATCH] Added enter to insert new line on mobile instead of default. (#1475) * Added enter to insert new line on mobile instead of default. * fix: lint * Removed unnecessary if statement * feat: use virtual keyboard detection instead of viewport width --------- Co-authored-by: Nathan Sarrazin --- src/lib/components/chat/ChatInput.svelte | 36 +++++++++++++++++------- 1 file changed, 26 insertions(+), 10 deletions(-) diff --git a/src/lib/components/chat/ChatInput.svelte b/src/lib/components/chat/ChatInput.svelte index 0751e2c0bdb..080b02a8e31 100644 --- a/src/lib/components/chat/ChatInput.svelte +++ b/src/lib/components/chat/ChatInput.svelte @@ -1,5 +1,5 @@