Hi Team,
I am using Envira Gallery to display a list of thumbnails and a lightbox to display the corresponding image and running into an issue where when paginate to the next page, two issues occur:
1.) When I paginate back to "page 1", the thumbnails do not refresh/reflect the thumbnails in that group. It just continues to show the thumbnail on "page 2"
2.) When I click on a "page 1" thumbnail, it opens the lightbox gallery just fine, and I can scroll back-and-forth between the images.
When I navigate to "page 2", and click on the thumbnail image. It just takes me directly to the image URL.
I've went ahead and:
a.) Turned off my caching plugin temporarily to test (Perfmatters)
b.) Flushed all Envira cache
c.) Cleared all Envira transients
GIF if issue:
https://share.zight.com/ApuWpmoj
And as it turns out, it seems the issue appears when adding the Envira Gallery Shortcode in a Custom Field of a CPT via the Meta Box AIO plugin.
If the Envira Shortcode is added to a normal page, the pagination looks fine. The images open on the lightbox, and when paginated back to Page 1, the page is refreshed.
Confirmation GIF available if interested.
Thank you.