Skip to content
New issue

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

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

Already on GitHub? # to your account

The last image always preloads when using lazyLoad === 'anticipated'. #4289

Open
LeDuc2004 opened this issue Feb 25, 2024 · 1 comment
Open

Comments

@LeDuc2004
Copy link

In the demo https://jsfiddle.net/pmxvunf8/, in slide-2, when I use
$('.slider-2').slick({
infinite: false,
lazyLoad: 'anticipated'
});
the last image is always loaded even though the src has been replaced with data-lazy

@pachylover
Copy link

[lazyLoad: 'anticipated'] is a property that gets the before and after images, one for each.

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

No branches or pull requests

2 participants