Skip to content

Commit 30eb7e7

Browse files
fix(mobile): overlay sidebar header blurs content scrolling under it (pingdotgg#26580)
Co-authored-by: Claude Opus 5.5 <[email protected]>
1 parent d07c0a7 commit 30eb7e7

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

‎apps/mobile/src/features/workspace/WorkspaceRootScreen.tsx‎

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,7 @@ function WorkspaceRootContent() {
128128

129129
return (
130130
<WorkspaceTabsContext value={context}>
131-
<View
132-
className={`flex-1 ${sidebarPicker ? "bg-drawer" : surface.className}`}
133-
style={sidebarPicker ? { paddingTop: insets.top } : undefined}
134-
>
131+
<View className={`flex-1 ${sidebarPicker ? "bg-drawer" : surface.className}`}>
135132
{Platform.OS === "ios" ? (
136133
<NativeStackScreenOptions
137134
optionsVersion={[
@@ -191,11 +188,7 @@ function WorkspaceRootContent() {
191188
]}
192189
/>
193190
)}
194-
<SafeAreaInsetsContext
195-
value={
196-
sidebarPicker ? { ...insets, top: 0 } : compactTabs ? { ...insets, bottom: 0 } : insets
197-
}
198-
>
191+
<SafeAreaInsetsContext value={compactTabs ? { ...insets, bottom: 0 } : insets}>
199192
{settingsOpen ? (
200193
<SettingsRouteScreen />
201194
) : enabled.length === 0 ? (

0 commit comments

Comments
 (0)