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

Lazy load not working with combination of options #4729

Closed
5 of 6 tasks
ExileofAranei opened this issue Jul 1, 2021 · 0 comments
Closed
5 of 6 tasks

Lazy load not working with combination of options #4729

ExileofAranei opened this issue Jul 1, 2021 · 0 comments

Comments

@ExileofAranei
Copy link
Contributor

Check that this is really a bug

  • I confirm

Reproduction link

https://codesandbox.io/s/swiper-slides-per-column-forked-3yb5v

Bug description

Greetings, faced a lazy loading bug.
Combination of next properties causes a lazy loading bug. If user drags slider manually until it's end with and then releases mouse slides which are supposed to be lazy loaded don't load. If watchSlidesProgress and watchSlidesVisibility options are disabled all works as expected.

// These options causes the bug
lazy: {
  loadPrevNext: true,
  loadPrevNextAmount: 12
},
touchReleaseOnEdges: true,
watchSlidesProgress: true,
watchSlidesVisibility: true,

Small video that represents the issue. To reproduce it's more comfortable to open sandbox in a new window.

Swiper.demo.-.Google.Chrome.2021-07-01.14-08-23.mp4

Expected Behavior

Expected lazy loading images to be loaded.

Actual Behavior

No response

Swiper version

6.7.1

Platform/Target and Browser Versions

Windows 10 19042.1052, Chrome 91.0.4472.114

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
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

1 participant