intergalacticspacehighway/react-native-reanimated-zoom

createZoomListComponent doesn't work with FlashList

edtjulien opened this issue · 0 comments

Hey and thanks for this amazing lib.

I use createZoomListComponent to keep the scrolling gesture. The Zoom component is on each items of the list.

Everything works fine with ScrollView and FlatList components. But not with the FlashList. FlashList improve so much performances: https://docs.expo.dev/versions/latest/sdk/flash-list/

I tried both:
createZoomListComponent(FlashList);
createZoomListWithReanimatedComponent(FlashList);

But I can't scroll when I begin my touch scroll in the Zoom item. Any idea to make it work by modifying the createZoomListComponent?

I use a workaround for now by unactivate totally the Gesture.Pan() and only use the Gesture.Pinch() (in zoom.tsx). But it's not the best way of course.