refactor(scrollbar): improve scroll tracking and animation timing

This commit is contained in:
Mohamed Boudra
2026-02-19 09:02:14 +07:00
parent a1fdeeb7ae
commit 02bcfcd5af
5 changed files with 74 additions and 42 deletions
@@ -210,7 +210,6 @@ export function DraggableList<T>({
metrics={scrollbarMetrics}
onScrollToOffset={(nextOffset) => {
scrollViewRef.current?.scrollTo({ y: nextOffset, animated: false });
scrollbarMetrics.setOffset(nextOffset);
}}
/>
</View>