SOLVED: Photoswipe not work correctly

I have gallery based on thumbnails of custom post type posts archive.
This is main page of archive https://vqzmdgwpht.cfolks.pl/galeria/
On this page Photoswipe works fine.
But on the rest of paginated pages, Photoswipe not work correct.

For example, page 2: https://vqzmdgwpht.cfolks.pl/galeria/page/2/

If You swich next image, again, and again, You will see this screen:

And the console error is:

Cannot read properties of undefined (reading 'center')

But when You click on image, and close Photoswipe by ESC button, the error is:

Cannot read properties of undefined (reading 'container')
1 Like

Hi Marek,
Thanks so much for your report!

We have already an email ticket about the issue :muscle:

Best regards,
timmse

Any updates on when this issue is likely to be fixed?

Hi

it looks like the problem was solved with Bricks 1.7.1.

The errors are gone and the images are loaded correctly within a loop and its subrepeaters.

Thanks a lot!

Cheers

Patric

1 Like

Yes :partying_face:
We’ve fixed this bug in Bricks 1.7.1, now available as a one-click update in your WordPress Dashboard.

Please let us know if you are still experiencing issues.

Best regards,
timmse