Lightbox menu icons may become hidden when there are many images

Kirby

Well-known member
Affected version
2.3.6
Steps to reproduce
  1. Access https://xenforo.com/community/threads/many-images-test.232114/ with a sufficiently narrow screen (360px like Samsung Galaxy)
  2. Open the lightbox
  3. Navigate to image #10
Expected Result
All menu icons or at least the close icon are accessible

Actual Result
The close icon is not visible and thus can't be used making it somewhat difficult / unintuitive to close the lightbox.

Screenshot_20250715_093343_Chrome.webp


Not sure yet how to fix this, but the current behaviour is meeh.
 
Is it similar to this?


I have my screen zoom bumped up just one or the text in other apps is a bit too small.

Screenshot_20250715_175107_Settings.webp


Edit: Had to reluctantly bump it down one since the report to behave with XF, which it does now, but +2 it'd act like what you posted.
 
Is it similar to this?
It's basically a superset of your bug report:
You reported this for XFMG but the issue is basically FancyBox itself, eg. also exists in core without XFMG.

The root cause is simply that there isn't enough horizontal space to display all icons and the counter (X / Y) if the screen is narrow and there are enough images to display, eg. the counter in the left colum gets wide enough.

This issue most likely won't be visible on Google Pixel or iPhone as those devices have a larger screen ( > 400px; Samsung Galaxy SXX has only 360px)
 
It's basically a superset of your bug report:
You reported this for XFMG but the issue is basically FancyBox itself, eg. also exists in core without XFMG.
I reported it for XFMG and RM, not noticing it had an impact on threads with attachments too. Probably why this one is marked Duplicate, as they see it as an XF-wide issue regardless of where reported:

 
Back
Top Bottom