diff options
author | Khuddite <62555977+khuddite@users.noreply.github.com> | 2024-11-23 14:52:36 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-23 19:52:36 +0000 |
commit | f802f81fa6608f2d0c6fb9e8ca65cb42813ef739 (patch) | |
tree | c5157f8917b0e9d3458b44d854211884a6e9fde5 /src/view/com/util | |
parent | 30af267bb41b3fddcf05d8107c4936f1c2589c00 (diff) | |
download | voidsky-f802f81fa6608f2d0c6fb9e8ca65cb42813ef739.tar.zst |
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>
Diffstat (limited to 'src/view/com/util')
-rw-r--r-- | src/view/com/util/List.web.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/com/util/List.web.tsx b/src/view/com/util/List.web.tsx index d9a2e351e..f112d2d0a 100644 --- a/src/view/com/util/List.web.tsx +++ b/src/view/com/util/List.web.tsx @@ -46,9 +46,9 @@ function ListImpl<ItemT>( keyExtractor, refreshing: _unsupportedRefreshing, onStartReached, - onStartReachedThreshold = 0, + onStartReachedThreshold = 2, onEndReached, - onEndReachedThreshold = 0, + onEndReachedThreshold = 2, onRefresh: _unsupportedOnRefresh, onScrolledDownChange, onContentSizeChange, |