Skip to content

Image viewer modal no longer closes when clicking out of image #2166

@valdearg

Description

@valdearg

Describe the bug
When opening an image in the slideshow modal, clicking outside the image no longer closes the image. This is the same issue as in #646 that's snuck in.

To Reproduce
Open image, click outside the image but not where the arrows are. Previously the image would be closed, now it doesn't.

Expected behaviour
Image should be closed and returned to the previous page.

Screenshots
image

Clicking outside the image, but not on the image or arrows would close the image.

Desktop (please complete the following information):

  • OS: Windows 11 Pro 22H2
  • Browser: Chrome
  • Version: 121.0.6167.185 (Official Build) (64-bit)
  • Browser: Firefox
  • Version: 122.0.1 (64-bit)

Metadata

Metadata

Assignees

No one assigned

    Labels

    1. to developAccepted and waiting to be taken care ofbugSomething isn't workingfeature: slideshowregressionRegression of a previous working feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions