Skip to content

Commit a8ea3c2

Browse files
camchismaria-rcks
andauthored
fix(mobile): Home list no longer opens scrolled down (#27155)
Co-authored-by: maria-rcks <[email protected]>
1 parent 6b3b3b7 commit a8ea3c2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎apps/mobile/src/features/home/HomeScreen.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -826,6 +826,8 @@ export function HomeScreen(props: HomeScreenProps) {
826826
// the list in the same frame as the bar.
827827
contentInsetAdjustmentBehavior="automatic"
828828
contentInsetStartAdjustment={Platform.OS === "ios" ? insets.top : 0}
829+
// RN scrollTo clamps against raw insets and ignores the automatic bar inset.
830+
scrollToOverflowEnabled
829831
initialScrollOffset={
830832
initialScrollOffset > 0
831833
? initialScrollOffset - (Platform.OS === "ios" ? insets.top : 0)

0 commit comments

Comments
 (0)