Adjust Infinite Scrolling in Library (#438)

Fix `onEndReachedThreshold` in library Flashlists
This commit is contained in:
Violet Caulfield
2025-07-14 06:13:49 -05:00
committed by GitHub
parent 4949a98747
commit 95eccec2be
3 changed files with 0 additions and 3 deletions

View File

@@ -82,7 +82,6 @@ export default function Albums({
: item.Id!
}
estimatedItemSize={itemHeight}
onEndReachedThreshold={0.25}
removeClippedSubviews
/>
</XStack>

View File

@@ -134,7 +134,6 @@ export default function Artists({
onEndReached={() => {
if (hasNextPage) fetchNextPage()
}}
onEndReachedThreshold={0.8}
removeClippedSubviews={false}
/>

View File

@@ -77,7 +77,6 @@ export default function Tracks({
onEndReached={() => {
if (hasNextPage) fetchNextPage()
}}
onEndReachedThreshold={0.0}
/>
)
}