Skip to content

Commit 2180601

Browse files
fix: Flatlist props to improve scroll performance
1 parent ba72d86 commit 2180601

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components/sirenInbox.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,9 @@ const SirenInbox = (props: SirenInboxProps): ReactElement => {
378378
contentContainerStyle={styles.contentContainer}
379379
onEndReached={onEndReached}
380380
ListFooterComponent={renderListFooter}
381+
removeClippedSubviews
382+
maxToRenderPerBatch={20}
383+
windowSize={3}
381384
/>
382385
);
383386
};

0 commit comments

Comments
 (0)