react-photoswipe-gallery icon indicating copy to clipboard operation
react-photoswipe-gallery copied to clipboard

Pagination

Open yukanagai opened this issue 1 year ago • 0 comments

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.

yukanagai avatar May 05 '23 16:05 yukanagai