react-native-image-gallery
react-native-image-gallery copied to clipboard
Scrolling to correct position after rotating screen
When having multiple images (more than 3) the scrolling to the correct position in the list after rotating the screen is not working correctly on android. When i swipe to image with index 3, and then rotate the device from portrait to landscape, the scrolling to the postion of image with index 3 is not working, it ends up showing part of image on index 1 and part of image on index 2.
I created a PR where this will be fixed: https://github.com/archriss/react-native-image-gallery/pull/67
Same problem here, waiting the merge too.
I still have the same problem on Android, especially when I have 100 or more images. I've tried playing with flat list props, but I don't have a good result. I still think that flat list props could solve the problem however.