Configure feed FlatList (removeClippedSubviews=true) to improve scroll performance (#136)

This commit is contained in:
Paul Frazee
2023-02-01 18:19:50 -06:00
committed by GitHub
parent 07c59583aa
commit 1c481374ec
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -103,6 +103,7 @@ export const Feed = observer(function Feed({
onScroll={onScroll}
onRefresh={onRefresh}
onEndReached={onEndReached}
removeClippedSubviews={true}
/>
)}
</View>
+1
View File
@@ -100,6 +100,7 @@ export function ViewSelector({
onRefresh={onRefresh}
onEndReached={onEndReached}
contentContainerStyle={s.contentContainer}
removeClippedSubviews={true}
/>
</HorzSwipe>
)