Swiper: slidesPerView: 'auto' + larger active slide

Created on 20 Nov 2018  路  3Comments  路  Source: nolimits4web/swiper

Hello!

The number of visible slides should be 3. The active slide is 50% wide and the other two 25% each. In the CSS, each slide is 25% wide and the active slide will get 50% once the class "swiper-slide-active" has been set.

The problem now is that swiper goes through the 25% width of 4 slides instead of 3. Click several times on the "next" button and you'll see that there are 4 slides at once.

In principle I would like to have only 3 slides visible, where however the active slide receives 50% width and the other two slides 25% each.

  • Swiper Version: 4.4.1
  • Live Link or JSFiddle/Codepen or website with isssue: CodePen
stale

Most helpful comment

Still no solution?( Really need this feature

All 3 comments

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This issue has been automatically closed due to inactivity. If this issue is still actual, please, create the new one.

Still no solution?( Really need this feature

Was this page helpful?
0 / 5 - 0 ratings

Related issues

danielcpereira11 picture danielcpereira11  路  4Comments

voodoo6 picture voodoo6  路  3Comments

callumacrae picture callumacrae  路  3Comments

TomDeSmet picture TomDeSmet  路  3Comments

magic-77 picture magic-77  路  3Comments