Image viewer modal no longer closes when clicking out of image #2166
Labels
1. to develop
Accepted and waiting to be taken care of
bug
Something isn't working
regression
Regression of a previous working feature
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
Clicking outside the image, but not on the image or arrows would close the image.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: