Fix broken pagination for lists tab on profile page (#6221)

* set onEndReachedThreshold to 2 for ProfileLists

* Add a footer for ProfileLists component for consistency

* Remove logs

* Revert onEndReachedThreshold change on Feed component

* Fix threshold defaults to match native

* Align lists and feedgens

---------

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
This commit is contained in:
Khuddite
2024-11-23 14:52:36 -05:00
committed by GitHub
parent 30af267bb4
commit f802f81fa6
3 changed files with 36 additions and 4 deletions
+2 -2
View File
@@ -46,9 +46,9 @@ function ListImpl<ItemT>(
keyExtractor,
refreshing: _unsupportedRefreshing,
onStartReached,
onStartReachedThreshold = 0,
onStartReachedThreshold = 2,
onEndReached,
onEndReachedThreshold = 0,
onEndReachedThreshold = 2,
onRefresh: _unsupportedOnRefresh,
onScrolledDownChange,
onContentSizeChange,