Skip to content

Commit

Permalink
disable automaticallAdjustsScrollIndicatorInsets (#7131)
Browse files Browse the repository at this point in the history
  • Loading branch information
mozzius authored Dec 16, 2024
1 parent 3ed237b commit c339dc5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/view/com/util/List.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ let List = React.forwardRef<ListMethods, ListProps>(
headerOffset,
style,
progressViewOffset,
automaticallyAdjustsScrollIndicatorInsets = false,
...props
},
ref,
Expand Down Expand Up @@ -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}
Expand Down

0 comments on commit c339dc5

Please sign in to comment.