viewer icon indicating copy to clipboard operation
viewer copied to clipboard

Image viewer modal no longer closes when clicking out of image

Open valdearg opened this issue 6 months ago • 3 comments

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 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)

valdearg avatar Feb 15 '24 20:02 valdearg

What Nextcloud version @valdearg ? :)

skjnldsv avatar Feb 16 '24 08:02 skjnldsv

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

valdearg avatar Feb 16 '24 09:02 valdearg

probably from https://github.com/nextcloud/viewer/pull/2127 cc @artonge

skjnldsv avatar Feb 16 '24 10:02 skjnldsv