From c61f80e5a1e3ecf8fb6cd5e0b4bce8b29f319432 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Wed, 15 Apr 2026 15:55:43 -0500 Subject: [PATCH] No need for onScroll on web --- src/components/images/Gallery/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/images/Gallery/index.tsx b/src/components/images/Gallery/index.tsx index dfe7366d98..786d77f37f 100644 --- a/src/components/images/Gallery/index.tsx +++ b/src/components/images/Gallery/index.tsx @@ -296,6 +296,8 @@ export function Gallery({ ) }} onScroll={e => { + // web handles via onSettle in the web hooks + if (IS_WEB) return const offsetX = e.nativeEvent.contentOffset.x let accumulated = 0 for (let i = 0; i < images.length; i++) {