changed my mind on maintainVisibleContentPosition
This commit is contained in:
@@ -156,10 +156,6 @@ let List = forwardRef<ListMethods, ListProps>(
|
|||||||
return (
|
return (
|
||||||
<FlatList_INTERNAL
|
<FlatList_INTERNAL
|
||||||
showsVerticalScrollIndicator // overridable
|
showsVerticalScrollIndicator // overridable
|
||||||
// Anchor the currently-visible item across content relayouts so that
|
|
||||||
// changing the viewport size (e.g. device rotation) doesn't lose the
|
|
||||||
// scroll position as items reflow to the new width.
|
|
||||||
maintainVisibleContentPosition={{minIndexForVisible: 0}}
|
|
||||||
onViewableItemsChanged={onViewableItemsChanged}
|
onViewableItemsChanged={onViewableItemsChanged}
|
||||||
viewabilityConfig={viewabilityConfig}
|
viewabilityConfig={viewabilityConfig}
|
||||||
{...props}
|
{...props}
|
||||||
|
|||||||
Reference in New Issue
Block a user