Photoswipe is not working properly with views and ajax

Created on 14 April 2017, about 7 years ago
Updated 2 February 2024, 5 months ago

Hi,
For photo gallery, I use Views with pager to display 20 items max. I also use ajax to not reload all the page.
In this configuration, Photoswipe works properly on the first page but not on the following pages (photo well display on foreground but no command, grey background and no title...)
Disable ajax fix the issue

πŸ› Bug report
Status

Closed: works as designed

Version

3.0

Component

Code

Created by

πŸ‡«πŸ‡·France Thib France

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¨πŸ‡ΏCzech Republic maxiorel Brno

    The issue still persist. I have block, AJAX exposed filters. Changing the pager works, all images are opening in PhotoSwipe, changing the filter breaks it down.

Production build 0.69.0 2024