From 5905b5301d5d350e24921d44080c919d06afdc88 Mon Sep 17 00:00:00 2001 From: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Date: Mon, 3 Feb 2025 15:08:20 +0530 Subject: [PATCH] fix: Prevent compose modal from closing when creating a link (#10809) --- .../NewConversation/ComposeConversation.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/app/javascript/dashboard/components-next/NewConversation/ComposeConversation.vue b/app/javascript/dashboard/components-next/NewConversation/ComposeConversation.vue index f5b2cb228..9a49fc39a 100644 --- a/app/javascript/dashboard/components-next/NewConversation/ComposeConversation.vue +++ b/app/javascript/dashboard/components-next/NewConversation/ComposeConversation.vue @@ -171,6 +171,10 @@ watch( { immediate: true, deep: true } ); +const handleClickOutside = () => { + showComposeNewConversation.value = false; +}; + onMounted(() => resetContacts()); const keyboardEvents = { @@ -188,7 +192,12 @@ useKeyboardEvents(keyboardEvents);