From 95eccec2be357da376975ece10b39ee1809f60f0 Mon Sep 17 00:00:00 2001 From: Violet Caulfield <42452695+anultravioletaurora@users.noreply.github.com> Date: Mon, 14 Jul 2025 06:13:49 -0500 Subject: [PATCH] Adjust Infinite Scrolling in Library (#438) Fix `onEndReachedThreshold` in library Flashlists --- src/components/Albums/component.tsx | 1 - src/components/Artists/component.tsx | 1 - src/components/Tracks/component.tsx | 1 - 3 files changed, 3 deletions(-) diff --git a/src/components/Albums/component.tsx b/src/components/Albums/component.tsx index 7403b14b..d25d9b8a 100644 --- a/src/components/Albums/component.tsx +++ b/src/components/Albums/component.tsx @@ -82,7 +82,6 @@ export default function Albums({ : item.Id! } estimatedItemSize={itemHeight} - onEndReachedThreshold={0.25} removeClippedSubviews /> diff --git a/src/components/Artists/component.tsx b/src/components/Artists/component.tsx index 8599be15..d58f269c 100644 --- a/src/components/Artists/component.tsx +++ b/src/components/Artists/component.tsx @@ -134,7 +134,6 @@ export default function Artists({ onEndReached={() => { if (hasNextPage) fetchNextPage() }} - onEndReachedThreshold={0.8} removeClippedSubviews={false} /> diff --git a/src/components/Tracks/component.tsx b/src/components/Tracks/component.tsx index d75acb6e..92af2ffd 100644 --- a/src/components/Tracks/component.tsx +++ b/src/components/Tracks/component.tsx @@ -77,7 +77,6 @@ export default function Tracks({ onEndReached={() => { if (hasNextPage) fetchNextPage() }} - onEndReachedThreshold={0.0} /> ) }