Flipkart / recyclerlistview

High performance listview for React Native and web!
Apache License 2.0
5.25k stars 427 forks source link

PinchGestureHandler not working on "recycled" cells #518

Open timurridjanovic opened 4 years ago

timurridjanovic commented 4 years ago

PinchGestureHandler doesnt quite work with recycling enabled. I want to be able to zoom into an image but with recycling enabled, it works for the first few images but then wont work with the "recycled cells". Here is a recording of what I mean: https://recordit.co/aTrIETDTrb

I can dysableRecycling to make it work, but that kind of defeats the purpose of using recyclerlistview.. Any idea on how to get around that?

akay25 commented 4 years ago

Hi @timurridjanovic , Did you find any good solution to this?

Cause I'm also working on some module in which I need to display 13-60 images full screen like a gallery, with zoom enabled and swipe as well. But can't find a good approach.

timurridjanovic commented 4 years ago

@akay25 Not really.. instead of using pinch gesture on the recyclerListView, I open a full screen modal with the image in it, and use the pinch gesture on that.. Basically, can't replicate the instagram pinch gesture model, but can replicate the facebook one (Facebook opens a modal)

Bayramito commented 3 years ago

+1