Skip to content

Swiper Element loop=“true” + slides-per-view=“auto” issue #6423

Closed
@ThinkingAbout

Description

Check that this is really a bug

  • I confirm

Reproduction link

https://stackblitz.com/edit/nuxt-starter-6tu6b1?file=components%2Fcarousel.vue

Bug description

Hello, I'm trying to initialize Swiper with the parameters I need but I get a strange behaviour when dragging, the carousel "jumps" uncontrollably.
The parameters i'm trying to use are:

  • slidesPerView
  • allowTouchMove
  • loop
  • centeredSlides
  • initialSlide
  • grabCursor
  • freeMode

I don't understand which parameter or combination of them breaks the carousel, but having only slidesPerView: 'auto' works correctly.

Any help please?
Matteo

Swiper version

9.0.5

Platform/Target and Browser Versions

macOS Chrome

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions