From 8256f789f698cb35065156a7807075187c4cdf12 Mon Sep 17 00:00:00 2001 From: lgmarchi Date: Tue, 10 Dec 2024 12:01:31 -0300 Subject: [PATCH] feat(Keyboard): Keep keyboard opened when after send a message --- src/lib/layouts/Chatbar.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/layouts/Chatbar.svelte b/src/lib/layouts/Chatbar.svelte index 70af71f48..af60187e6 100644 --- a/src/lib/layouts/Chatbar.svelte +++ b/src/lib/layouts/Chatbar.svelte @@ -55,6 +55,7 @@ } async function sendMessage(text: string, isStickerOrGif: boolean = false) { + hackVariableToRefocusChatBar.set(Math.random().toString()) message.set("") let filesSelected = get(Store.state.chatAttachmentsToSend)[activeChat.id]?.localFiles let filesSelectedFromStorage: FileInfo[] = get(Store.state.chatAttachmentsToSend)[activeChat.id]?.storageFiles