Skip to content

Click prev button slides jumps per slide when use options slidesPerView: "auto" + centeredSlides: true + loop:true #8101

@F1reMonster

Description

@F1reMonster

Check that this is really a bug

  • I confirm

Reproduction link

https://codepen.io/f1remonster/pen/XJXjWOb

Bug description

When use option

slidesPerView: "auto" 
centeredSlides: true
loop:true

and click prev button have issue slides jumps per slide, is use swipe works normal, only when use nav prev click

Expected Behavior

expected behavior like click next button

Actual Behavior

No response

Swiper version

12

Platform/Target and Browser Versions

PC Chrome 140.0.7339.208

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

Metadata

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