react-native-photo-gallery
react-native-photo-gallery copied to clipboard
Thumbnails Don't Render
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):
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:
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:
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?