diff --git a/src/components/ScreenShell/index.tsx b/src/components/ScreenShell/index.tsx index cffede0..096ba39 100644 --- a/src/components/ScreenShell/index.tsx +++ b/src/components/ScreenShell/index.tsx @@ -77,7 +77,9 @@ export const ScreenShell = ({ // Bottom spacing: if inside tab navigator, add TAB_BAR_HEIGHT + breathing room // If there's a fixedFooter, we don't necessarily need tab bar padding on the scroll view, // but let's leave it for safety or adjust based on layout. - const tabBarPadding = withTabBar ? TAB_BAR_HEIGHT + 16 : 20; + // A fixed footer already clears the tab bar (see below), so the scroll above + // it only needs breathing room, not the bar's full height again. + const tabBarPadding = withTabBar && !fixedFooter ? TAB_BAR_HEIGHT + 16 : 20; const scrollContent = ( + {fixedFooter} + + ) : null} );