From b7994c1d9707aa163c52d4d6af5a025f3792e171 Mon Sep 17 00:00:00 2001 From: waleed Date: Thu, 4 Dec 2025 13:00:47 -0800 Subject: [PATCH] fix(chat): fix download & clear popover staying open after pressing in floating chat --- .../[workspaceId]/w/[workflowId]/components/chat/chat.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/chat/chat.tsx b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/chat/chat.tsx index fdc5c2812a6..7c6236b2bea 100644 --- a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/chat/chat.tsx +++ b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/chat/chat.tsx @@ -856,8 +856,7 @@ export function Chat() { > { - e.stopPropagation() + onClick={() => { if (activeWorkflowId) exportChatCSV(activeWorkflowId) setMoreMenuOpen(false) }} @@ -867,8 +866,7 @@ export function Chat() { Download { - e.stopPropagation() + onClick={() => { if (activeWorkflowId) clearChat(activeWorkflowId) setMoreMenuOpen(false) }}