Open salomanov opened 5 months ago
https://github.com/nolimits4web/swiper/issues/6582#issuecomment-1510904926 This method doesn't help
Correct, it's not working #6582.
Also, lazy load is not working with width:100% on the img tag. on page load it's loading first two image which is caused the issue.
Experiencing the same issue.
For me, the solution provided in https://github.com/nolimits4web/swiper/issues/6582#issuecomment-1510904926 GitHub comment does help.
However, if this fix is required for the fade effect to work by default, it should be included in the core CSS. It took me some time to figure this out.
Check that this is really a bug
Reproduction link
https://codesandbox.io/p/sandbox/swiper-lazy-load-images-fade-4mrgh8?file=%2Findex.html
Bug description
When using the "Fade" effect, all slides appear in the viewport, although they are hidden, so all images begin to load, although lazy loading is selected.
Expected Behavior
No response
Actual Behavior
No response
Swiper version
v11.1.1
Platform/Target and Browser Versions
Windows, Chrome
Validations
Would you like to open a PR for this bug?