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
First image of config object won't appear when >= 769px but gallery acts normal if <769px #483
Comments
larsactionhero
changed the title
1st image of config won't appear when <769px but below acts normal
1st image of config object won't appear when >= 769px but acts normal if <769px
Apr 11, 2024
larsactionhero
changed the title
1st image of config object won't appear when >= 769px but acts normal if <769px
First image of config object won't appear when >= 769px but gallery acts normal if <769px
Apr 11, 2024
That is odd. If you use the last release from Github (3.2.0) the issue goes away. |
Thanks for your reply. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I've run into this while using a link trigger to open a glightbox.
If screen size is >= 769px: first image of elements object won't show up.
If screen size is < 769px: gallery works as expected.
But when 1st item in config object does not contain the following entries...
...gallery works as expected, regardless of screen size (see example #2 in codepen)
Are you able to reproduce the bug in the demo site
No.
To Reproduce
Steps to reproduce the behavior:
in this example, the gallery elements are defined by the 'elements' object.
https://codepen.io/larsactionhero/pen/MWRXpYb
Expected behavior
It should open the 1st image right away.
Post the code you are using
https://codepen.io/larsactionhero/pen/MWRXpYb
Screenshots
Additional screenshot of my console error (taken from my current project where it appeared)
Desktop:
The text was updated successfully, but these errors were encountered: