georstat / react-native-image-gallery

React Native Image Gallery with Thumbnails
MIT License
86 stars 19 forks source link

issue #2

Open sandiptarsariya opened 2 years ago

sandiptarsariya commented 2 years ago

when click in small image box two time not scroll prope Simulator Screen Shot - iPhone 12 Pro Max - 2022-03-29 at 17 07 19 r

geobako commented 2 years ago

HI @sandiptarsariya , you please share some code so we can have a better perspective of the issue please

404-html commented 2 years ago

I reproduced the issue, here are the steps:

  1. Open gallery with at least one image and thumbnails enabled;
  2. Double tap (quickly) at the thumbnail of not selected image.

At this stage image gallery goes into some weird state and is not responding well to gestures.

double-tap-problem

P.S. Other that that great work!

sandiptarsariya commented 2 years ago

pleased check this library code react-native-photo-gallery issue solution inside that found.

geobako commented 2 years ago

It seems that the pan responder causes many issues when combined with the Flatlist so we will rewrite the library with reanimated2 and gesture handler to make it more robust and bug free. However, feel free to submit MRs until then.