react-native-photo-gallery icon indicating copy to clipboard operation
react-native-photo-gallery copied to clipboard

Thumbnails Don't Render

Open TimothyDLewis opened this issue 6 years ago • 0 comments

Facing an issue with this plugin. I have a Gallery that is loading a dynamic array of images, anywhere from 8 to 30. Now, I've added logic to disable scrolling on the <FlatList component, and instead want to rely on scrolling/clicking the thumbnails from <Pagination to navigate. However, on occasion, the thumbnails don't render (the black ribbon does, but not the individual thumbnails):

screenshot 2018-11-23 13 25 42

The only way I can reliably get the thumbnails to render is by scrolling the component, which, since it is invisible, is not obvious UX:

screenshot 2018-11-23 13 27 01

Note: I've added an <ActivityIndicator to each <SwiperThumb, so I can tell if they are loading, so it's not an issue with the individual thumbnails not rendering:

screenshot 2018-11-23 13 28 47

Aside from the modifications to disable scrolling and the add an activity indicator on loading thumbnails, I haven't changed this plugin.

Any ideas what could be causing this?

TimothyDLewis avatar Nov 23 '18 18:11 TimothyDLewis