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

Loop Issue #1165

Open
Pixelous opened this issue Sep 23, 2021 · 1 comment
Open

Loop Issue #1165

Pixelous opened this issue Sep 23, 2021 · 1 comment

Comments

@Pixelous
Copy link

Hi,

When going from last to first slide the first slide is hidden, it looks like it is loading.

It is hard to describe in words, please see attached video.

Inline-Gallery-lightGallery.mp4

Can you fix it?

@sachinchoolur
Copy link
Owner

Thank you for reporting this.
Yes, it looks like when you navigate from the last slide to the first slide, the first slide is not preloaded. It starts loading the content only when it reaches the first slide. It is a rare scenario. But I'll push a fix in the next version

For now, you can try increasing the preload value by passing a higher number via settings.
https://www.lightgalleryjs.com/docs/settings/#preload

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