diff --git a/src/lib/components/common/MobileSwipePanel.svelte b/src/lib/components/common/MobileSwipePanel.svelte index 538cf6b1ee..77590959ef 100644 --- a/src/lib/components/common/MobileSwipePanel.svelte +++ b/src/lib/components/common/MobileSwipePanel.svelte @@ -102,7 +102,6 @@ const finish = () => { settling = false; - mounted = nextOpen; settleTimer = null; }; diff --git a/src/lib/components/layout/Sidebar.svelte b/src/lib/components/layout/Sidebar.svelte index 1e433a29c9..fdba6c67b8 100644 --- a/src/lib/components/layout/Sidebar.svelte +++ b/src/lib/components/layout/Sidebar.svelte @@ -1096,6 +1096,8 @@ id="sidebar" role="navigation" aria-label={$i18n.t('Chat history')} + aria-hidden={$mobile && !$showSidebar} + inert={$mobile && !$showSidebar} class="h-screen max-h-[100dvh] min-h-screen select-none {visible ? `${$mobile ? 'bg-gray-50 dark:bg-gray-950' : 'bg-gray-50/70 dark:bg-gray-950/70'} z-50` : ' bg-transparent z-0 '} {$isApp