viewer
viewer copied to clipboard
Image viewer modal no longer closes when clicking out of image
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 https://github.com/nextcloud/viewer/issues/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):
- OS: Windows 11 Pro 22H2
- Browser: Chrome
- Version: 121.0.6167.185 (Official Build) (64-bit)
- Browser: Firefox
- Version: 122.0.1 (64-bit)
What Nextcloud version @valdearg ? :)
Sorry, this would've been helpful information, wouldn't it!
I'm on version NextCloud version 28.0.2 and this issue only started when updated from 28.0.1.1 to 28.0.2
probably from https://github.com/nextcloud/viewer/pull/2127 cc @artonge