Configure feed FlatList (removeClippedSubviews=true) to improve scroll performance (#136)
This commit is contained in:
@@ -103,6 +103,7 @@ export const Feed = observer(function Feed({
|
||||
onScroll={onScroll}
|
||||
onRefresh={onRefresh}
|
||||
onEndReached={onEndReached}
|
||||
removeClippedSubviews={true}
|
||||
/>
|
||||
)}
|
||||
</View>
|
||||
|
||||
@@ -100,6 +100,7 @@ export function ViewSelector({
|
||||
onRefresh={onRefresh}
|
||||
onEndReached={onEndReached}
|
||||
contentContainerStyle={s.contentContainer}
|
||||
removeClippedSubviews={true}
|
||||
/>
|
||||
</HorzSwipe>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user