disable automaticallAdjustsScrollIndicatorInsets (#7131)

This commit is contained in:
Samuel Newman
2024-12-16 22:06:15 +00:00
committed by GitHub
parent 3ed237b629
commit c339dc5b05
+4
View File
@@ -53,6 +53,7 @@ let List = React.forwardRef<ListMethods, ListProps>(
headerOffset,
style,
progressViewOffset,
automaticallyAdjustsScrollIndicatorInsets = false,
...props
},
ref,
@@ -151,6 +152,9 @@ let List = React.forwardRef<ListMethods, ListProps>(
return (
<FlatList_INTERNAL
{...props}
automaticallyAdjustsScrollIndicatorInsets={
automaticallyAdjustsScrollIndicatorInsets
}
scrollIndicatorInsets={{top: headerOffset, right: 1}}
contentOffset={contentOffset}
refreshControl={refreshControl}