childSelector in init is too broad, affecting all links inside the photoswipe-gallery and showing "broken" images

Created on 22 August 2023, over 1 year ago
Updated 27 September 2023, about 1 year ago

Problem/Motivation

In a (custom) .photoswipe-gallery wrapper we have a single a.photoswipe link, wich opens perfectly fine in the PSWP layer. But another broken "image" appers in the PSWP layer, while there is definetly no other a.photoswipe element inside this gallery wrapper.

Furthermore, when logged in (as admin) its not only two images in the gallery, its four (three broken ones).

Steps to reproduce

@Team DROWL: I can provide a link to the project page, where this happens.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

5.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024