Closed alexstanbury closed 1 year ago
This might not be the most elegant solution, but I added a key with the length of the data array and it's working.
<AwesomeGallery
key={images.length}
data={images}
keyExtractor={(item, index) => item}
doubleTapInterval={150}
onTap={() => console.log('tap')}
/>
Released in v0.3.6
I'm using the following dependencies:
Once an image is removed from the array, gestures stop being recognised. If you change the removed image position from 0 to say 2, it only locks up when you scroll to index 2 in the image array.
Seems to be a reoccurrence of https://github.com/Flair-Dev/react-native-awesome-gallery/issues/19.