You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: