georstat / react-native-image-gallery

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

Gallery lags after vicious swiping #13

Open lundjrl opened 2 years ago

lundjrl commented 2 years ago

Hey all.

First off I really appreciate the effort you've put into this thing. The UI looks pretty clean and the library does function well.

One thing I did notice is when you start swiping fast, it's like the gallery can't keep up and then just stalls. It's unable to swipe anymore and I can't press on a thumb to take me to another picture.

I saw some discussion on migrating to react-native-reanimated to solve some gesture issues. Perhaps that would solve this?

I tested the same swiping on another library react-native-swiper-flatlist and theirs doesn't stall. Maybe you could look into what they did for inspiration?

JcbPrn commented 2 years ago

@lundjrl did you find any solution?

lundjrl commented 2 years ago

@JcbPrn I did not, I ended up using another library for a custom gallery.

mmaass commented 1 year ago

@JcbPrn which one?

Goowwy commented 1 year ago

yeah, which one?

mmaass commented 1 year ago

I ended up using react-native-snap-carousel

fukemy commented 10 months ago

@mmaass , snap carousel using ScrollView, I think better using Flatlist

Nagibaba commented 8 months ago

I combined react-native-awesome-gallery with react native modal. Presumably this issue is not gonna be fixed. You can have a look at this article bu consider using rn awesome lib.