No need for onScroll on web

This commit is contained in:
Eric Bailey
2026-04-15 15:55:43 -05:00
parent 0f9b0c5f5c
commit c61f80e5a1
+2
View File
@@ -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++) {