From d94ba7187f173f471b4267cbb1c0716b0c9b5862 Mon Sep 17 00:00:00 2001 From: silentoplayz Date: Tue, 3 Nov 2026 12:30:08 -0500 Subject: [PATCH] fix(a11y): renaming, pinning, moving, archiving or deleting a sidebar chat keeps keyboard focus --- .../components/layout/Sidebar/ChatItem.svelte | 43 ++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/src/lib/components/layout/Sidebar/ChatItem.svelte b/src/lib/components/layout/Sidebar/ChatItem.svelte index 8acb8c3948..c1cefd1588 100644 --- a/src/lib/components/layout/Sidebar/ChatItem.svelte +++ b/src/lib/components/layout/Sidebar/ChatItem.svelte @@ -12,6 +12,7 @@ * therefore force-closes whichever one is still up. */ let closeActiveHoverPreview: (() => void) | null = null; + let focusChatMenuOnMount: string | null = null;