#7203·swiper

Skip ending slides per group

Author: TomLorenziCreated Nov 22, 2023Updated Sep 9, 2026
Labelsfeature request

Clear and concise description of the problem

Hello,
Currently this lib allow us to use the property "slidesPerGroupSkip" to avoid grouping the first (or more page). Unfortunatly you can't skip the last slides from that grouping. So if you have a pagination with an even number of slides and you skip the first slides of the grouping, activeIndex would never return the last page, it will be stuck at the last odd page.

Suggested solution

Create a property "slidesPerGroupSkipEnd" to allow the same things for the ending slides.

Alternative

Can't find one for now, but probably have to trick css manually.

Additional context

No response

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.

Would you like to open a PR for this feature?

  • I'm willing to open a PR