Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Lazyload lazyLoadEager not supported? #17

Closed
laraduarte opened this issue May 19, 2020 · 3 comments
Closed

Lazyload lazyLoadEager not supported? #17

laraduarte opened this issue May 19, 2020 · 3 comments

Comments

@laraduarte
Copy link

The lazyload feature only loads the current item.
Is it possible to load 3 images?

The attachment shows what happens when the user slides and the image is still not loaded.

Thanks

Screenshot (421)

Lara

@jechav
Copy link
Owner

jechav commented Jun 27, 2020

updated tiny-slider v2.9.2

@jechav jechav closed this as completed Jun 27, 2020
@laraduarte
Copy link
Author

laraduarte commented Jul 3, 2020

Same issue! was not resolved on version 2.9.2.

With the settings below you can replicate the issue.

When we only have one item visible, if you scroll to right the next image was not loaded yet, it only loads when the transition ends.

Can you load the current image + the next one too?

Thank you :)

const settings = {
lazyload: true,
lazyloadSelector: ".tns-lazy",
nav: true,
items: 1,
mouseDrag: true,
autoplay: false,
loop: false,
touch: true,
controls: false,
};

@jechav jechav reopened this Jul 4, 2020
@jechav
Copy link
Owner

jechav commented Jul 11, 2020

I remove an old logic regarding the lazyload, but i think was not related.
nevertheless the there is an example with your settings in the demo:
https://tiny-slider-react-tests.netlify.app/

@jechav jechav closed this as completed Jul 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants