From ef67cc3faca2c139dd680d6a90fe72eab6749d3e Mon Sep 17 00:00:00 2001 From: Classic298 <27028174+Classic298@users.noreply.github.com> Date: Sun, 27 Sep 2026 23:52:26 +0200 Subject: [PATCH] fix: first click in a dialog opened from a menu does nothing (#31496) The chat header menu, the folder menu, the note menu, the knowledge Add Content and folder row menus and the Actions menus in Models, Archived Chats and Personalization stayed open behind the dialog they opened, so the first click inside that dialog only closed the menu. These menus now close when an item is picked, like the sidebar chat menu. The note menu's Formatting switch, the chat tags and submenus such as Download still keep the menu open. Fixes #31493 --- src/lib/components/admin/Settings/Models.svelte | 2 +- src/lib/components/chat/Settings/ArchivedChats.svelte | 2 +- src/lib/components/chat/Settings/Personalization.svelte | 2 +- src/lib/components/layout/Navbar/Menu.svelte | 4 +++- src/lib/components/layout/Sidebar/Folders/FolderMenu.svelte | 2 +- src/lib/components/notes/Notes/NoteMenu.svelte | 5 +++-- .../workspace/Knowledge/KnowledgeBase/AddContentMenu.svelte | 3 +-- .../workspace/Knowledge/KnowledgeBase/DirectoryRow.svelte | 4 +--- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/lib/components/admin/Settings/Models.svelte b/src/lib/components/admin/Settings/Models.svelte index 9ea9629a59..cb9fb1db4a 100644 --- a/src/lib/components/admin/Settings/Models.svelte +++ b/src/lib/components/admin/Settings/Models.svelte @@ -824,7 +824,7 @@ {/if} - +