TypeScript
fix(mobile): Home list no longer opens scrolled down (#27155)
Cameron Chisholma8ea3c20fe6b
diff --git a/apps/mobile/src/features/home/HomeScreen.tsx b/apps/mobile/src/features/home/HomeScreen.tsxindex 66be9a586ac..4609ecfb96c 100644--- a/apps/mobile/src/features/home/HomeScreen.tsx+++ b/apps/mobile/src/features/home/HomeScreen.tsx@@ -826,6 +826,8 @@ export function HomeScreen(props: HomeScreenProps) {// the list in the same frame as the bar.contentInsetAdjustmentBehavior="automatic"contentInsetStartAdjustment={Platform.OS === "ios" ? insets.top : 0}+ // RN scrollTo clamps against raw insets and ignores the automatic bar inset.+ scrollToOverflowEnabledinitialScrollOffset={initialScrollOffset > 0? initialScrollOffset - (Platform.OS === "ios" ? insets.top : 0)