mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Try using default windowSize
This commit is contained in:
@ -249,7 +249,6 @@ const EmojisList = () => {
|
||||
</CustomText>
|
||||
)}
|
||||
renderItem={listItem}
|
||||
windowSize={4}
|
||||
contentContainerStyle={{
|
||||
paddingHorizontal: StyleConstants.Spacing.Global.PagePadding,
|
||||
minHeight: 32 * 2 + StyleConstants.Spacing.M * 3
|
||||
|
@ -251,13 +251,12 @@ const Timeline: React.FC<Props> = ({
|
||||
ref={customFLRef || flRef}
|
||||
scrollEventThrottle={16}
|
||||
onScroll={onScroll}
|
||||
windowSize={5}
|
||||
data={flattenPages(data)}
|
||||
{...(customProps?.renderItem
|
||||
? { renderItem: customProps.renderItem }
|
||||
: { renderItem: ({ item }) => <TimelineDefault item={item} queryKey={queryKey} /> })}
|
||||
initialNumToRender={3}
|
||||
maxToRenderPerBatch={3}
|
||||
maxToRenderPerBatch={2}
|
||||
onEndReached={() => !disableInfinity && !isFetchingNextPage && fetchNextPage()}
|
||||
onEndReachedThreshold={0.75}
|
||||
ListFooterComponent={
|
||||
|
Reference in New Issue
Block a user