react-photoswipe-gallery
react-photoswipe-gallery copied to clipboard
Pagination
What is the recommended way to implement pagination with react-photoswipe-gallery?
I tried using the hook afterChange() to look for when the current index changes to a certain number -- then update the list of current images fed to PhotoSwipe component. However that causes the new set of images to change immediately and doesn't allow the last image in the original first page to display.