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

Scrolling to correct position after rotating screen

Open seinen opened this issue 7 years ago • 2 comments

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

seinen avatar Feb 15 '18 08:02 seinen

Same problem here, waiting the merge too.

dflourusso avatar Mar 08 '18 14:03 dflourusso

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.

Draccan avatar May 23 '18 08:05 Draccan