Skip to content
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

6.6.0 breaks existing swipers using breakpoints #4543

Closed
sebastianbaumann opened this issue May 11, 2021 · 0 comments
Closed

6.6.0 breaks existing swipers using breakpoints #4543

sebastianbaumann opened this issue May 11, 2021 · 0 comments

Comments

@sebastianbaumann
Copy link

  • Swiper Version: 6.6.0
  • Platform/Target and Browser Versions: macOS: Chrome / Safari / FireFox (latest)

What You Did

  • Updated to 6.6.0

  • add breakpoints to config

breakpoints: {
    // when window width is >= 320px
    320: {
      slidesPerView: 2,
      spaceBetween: 20
    },
    // when window width is >= 480px
    480: {
      slidesPerView: 3,
      spaceBetween: 30
    },
  }

Expected Behavior

Swiper should show slides as configured and be slideable

Actual Behavior

Swiper it not swiping anymore

Even breaks your demo: https://swiperjs.com/demos/380-responsive-breakpoints/core.html

@sebastianbaumann sebastianbaumann changed the title 6.6.0 breakes exiting swipers using breakpoints 6.6.0 breaks existing swipers using breakpoints May 11, 2021
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