ascoders / react-native-image-viewer

🚀 tiny & fast lib for react native image viewer pan and zoom
MIT License
2.44k stars 580 forks source link

renderFooter for 2.2.26 seems to have been broken #322

Closed DISKONEKTeD closed 5 years ago

DISKONEKTeD commented 5 years ago

For renderFooter, the currentIndex property is currently broken.

I feed it an array of three images (even with just one image), the first index is "-1". Then, it skips to "1" and "2".

This was working as expected (as in 0, 1, 2 etc as opposed to -1, 1, 2) up until 2.2.25, the last update broke this functionality.