From 9cd160e910db873ef1cd18849e50a02ff6927089 Mon Sep 17 00:00:00 2001 From: Jake Leventhal Date: Tue, 27 Oct 2026 17:10:20 -0400 Subject: [PATCH] fix(mobile): the portrait Duo drawer's last rows clear its tab bar Co-Authored-By: Claude Opus 5.5 --- .../src/features/layout/workspace/WorkspaceRootScreen.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/mobile/src/features/layout/workspace/WorkspaceRootScreen.tsx b/apps/mobile/src/features/layout/workspace/WorkspaceRootScreen.tsx index e8e7c0d325983..1aad9153dd945 100644 --- a/apps/mobile/src/features/layout/workspace/WorkspaceRootScreen.tsx +++ b/apps/mobile/src/features/layout/workspace/WorkspaceRootScreen.tsx @@ -100,8 +100,8 @@ function WorkspaceRootContent() { layout.variant === "medium" && state.selectedTab === "usage" ? workspaceDockBottomClearance({ bottomInset: insets.bottom, keyboardHeight }) : isDuoDevice(deviceType) - ? // The column's safe area already holds the Duo's search toolbar and keyboard. - Math.max(insets.bottom, keyboardHeight) + 16 + ? // The column's safe area holds the Duo's search toolbar and keyboard, not its sidebar tabs. + Math.max(insets.bottom, keyboardHeight) + (sidebarPicker ? 80 : 16) : compactTabs || deviceType === "pad" ? workspaceDockBottomClearance({ bottomInset: insets.bottom, keyboardHeight }) : Math.max(insets.bottom, keyboardHeight) +