react-native-reanimated-zoom icon indicating copy to clipboard operation
react-native-reanimated-zoom copied to clipboard

createZoomListComponent doesn't work with FlashList

Open edtjulien opened this issue 1 year ago • 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.

edtjulien avatar Apr 12 '23 12:04 edtjulien