Skip to content

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

@valdearg

Description

@valdearg

Describe the bug
When opening an image in the slideshow modal, clicking outside the image no longer closes the image.

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
1920-937-max
Clicking within the highlighted space, but not on the image would close the image.

Desktop (please complete the following information):

  • OS: Windows 10 Pro 2004
  • Browser: Chrome
  • Version: 85.0.4183.121 (Official Build) (64-bit)

Metadata

Metadata

Assignees

No one assigned

    Labels

    3. to reviewWaiting for reviewsbugSomething isn't workingregressionRegression 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