Skip to content

Be able to set a number of duplicated slides to fix loop on specifiy scenarios #7980

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

Open
5 of 6 tasks
Denneee opened this issue May 5, 2025 · 0 comments
Open
5 of 6 tasks

Comments

@Denneee
Copy link

Denneee commented May 5, 2025

Check that this is really a bug

  • I confirm

Reproduction link

https://codepen.io/dennee_/pen/raavYWz

Bug description

As already discussed in this issue, we are currently missing the option to add additional Slides on loop mode. As in the example viewable the slides to the right are jumping into view instead of sliding.
When using loopAdditionalSlides the Slider is completly breaking down as seen here. This is happening with or without centeredSlides being active

Expected Behavior

When the overflow from the slider is visible I want to be able to configure to add additional slides to fill the view. Without this the last slide to the right is popping up and not sliding into view.

Actual Behavior

A new parameter like "numberOfDuplicateSlides" to cover these specific design scenarios or fix loopAdditionalSlides

Swiper version

11.2.6

Platform/Target and Browser Versions

macOS Chrome 135.0.7049.116

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