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

preloadNextImage property #76

Closed
ScottMRafferty opened this issue Apr 28, 2018 · 2 comments
Closed

preloadNextImage property #76

ScottMRafferty opened this issue Apr 28, 2018 · 2 comments

Comments

@ScottMRafferty
Copy link

I noticed that preloadNextImage property does not appear to be passed to the Lightbox component which has the effect of preloading the first image from the image array even when using thumbs. When the images are large and thumbs are being used this does affect performance. I've tested adding the property to my own custom build which resolves the problem.

@benhowell
Copy link
Owner

Nice catch. Can you submit a PR with your changes?

@benhowell
Copy link
Owner

Thanks again @ScottMRafferty.
Fixed in #78

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

No branches or pull requests

2 participants