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

lazyoad skips image when using fractional slidePerView and watchSlidesProgress #5955

Closed
5 of 6 tasks
dijkermans opened this issue Aug 12, 2022 · 1 comment
Closed
5 of 6 tasks

Comments

@dijkermans
Copy link

dijkermans commented Aug 12, 2022

Check that this is really a bug

  • I confirm

Reproduction link

https://codepen.io/dijkermans/pen/vYRzzLb

Bug description

Hi,

The slider skips a lazy load image in this case; in below example "image04.jpg" is not preloaded but e.g. image05 is preloaded:

https://snipboard.io/BlRwkW.jpg

looks like "watchSlidesProgress:true" is causing the issue but I need it because of the "right click on link resets slider"-bug: #5814

Regards.

Expected Behavior

lazy images preloaded, respecting loadPrevNextAmount

Actual Behavior

image04 skipped from preloading which results in loading-flicker

Swiper version

8.3.2

Platform/Target and Browser Versions

win10 / chrome 104

Validations

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

  • I'm willing to open a PR
@nolimits4web
Copy link
Owner

Swiper v9 doesn't lazy module anymore. If you have similar issues in Swiper 9, open a new issue with a CodeSandbox showing the issue.

Repository owner locked and limited conversation to collaborators Feb 1, 2023
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