diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-12-16 22:06:15 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-16 22:06:15 +0000 |
commit | c339dc5b05282ba917bed9d02c914453cf38d437 (patch) | |
tree | 00193dafe9afea5e19bb841f380d0bf6c51b94bb /src/view/com/util/List.tsx | |
parent | 3ed237b6290c3f3d6ce143e8c63e2e888cf7b47a (diff) | |
download | voidsky-c339dc5b05282ba917bed9d02c914453cf38d437.tar.zst |
disable automaticallAdjustsScrollIndicatorInsets (#7131)
Diffstat (limited to 'src/view/com/util/List.tsx')
-rw-r--r-- | src/view/com/util/List.tsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/view/com/util/List.tsx b/src/view/com/util/List.tsx index 31fd0aa1d..62c91cec6 100644 --- a/src/view/com/util/List.tsx +++ b/src/view/com/util/List.tsx @@ -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} |