Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

moreText link closes lightbox instead of revealing text on devices >768px in width #435

Open
geomaedr opened this issue Jul 19, 2023 · 1 comment

Comments

@geomaedr
Copy link

If an image description is used in combination with the moreText feature, a click on "See more" results in closing the lightbox instead of revealing the hidden text.
This happens for touch devices greater than 768px in width.

It can be reproduced on this demo site - section "Images with Description".

Steps to reproduce the behavior:

  1. Go to the demo page using a suitable device or dev tools (> 768px device width).
  2. Scroll to the section "Images with Description"
  3. Click on the image with the cat
  4. Click on "See more"
  5. The lightbox closes instead of revealing the text after clicking "See more"

The text should show instead of the lightbox closing.

GlightboxIssueSeeMoreOnTablet

Desktop:

  • OS: MacOS Ventura 13.4.1
  • Browser Chrome (Dev Tools)
  • Version 114.0.5735.198
@geomaedr
Copy link
Author

See also #370

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants