disable automaticallAdjustsScrollIndicatorInsets (#7131)
This commit is contained in:
@@ -53,6 +53,7 @@ let List = React.forwardRef<ListMethods, ListProps>(
|
|||||||
headerOffset,
|
headerOffset,
|
||||||
style,
|
style,
|
||||||
progressViewOffset,
|
progressViewOffset,
|
||||||
|
automaticallyAdjustsScrollIndicatorInsets = false,
|
||||||
...props
|
...props
|
||||||
},
|
},
|
||||||
ref,
|
ref,
|
||||||
@@ -151,6 +152,9 @@ let List = React.forwardRef<ListMethods, ListProps>(
|
|||||||
return (
|
return (
|
||||||
<FlatList_INTERNAL
|
<FlatList_INTERNAL
|
||||||
{...props}
|
{...props}
|
||||||
|
automaticallyAdjustsScrollIndicatorInsets={
|
||||||
|
automaticallyAdjustsScrollIndicatorInsets
|
||||||
|
}
|
||||||
scrollIndicatorInsets={{top: headerOffset, right: 1}}
|
scrollIndicatorInsets={{top: headerOffset, right: 1}}
|
||||||
contentOffset={contentOffset}
|
contentOffset={contentOffset}
|
||||||
refreshControl={refreshControl}
|
refreshControl={refreshControl}
|
||||||
|
|||||||
Reference in New Issue
Block a user