swiper icon indicating copy to clipboard operation
swiper copied to clipboard

defining loop option for different breakpoints breaks the app

Open rahanet-ict opened this issue 3 years ago • 0 comments

Check that this is really a bug

  • [X] I confirm

Reproduction link

https://codesandbox.io/s/swiper-infinite-loop-react-forked-rofdsy

Bug description

I faced the issue when I tried to have the slider to be looped on mobile devices. for that when I set loop option in breakpoints, I raised this I issue.

setting loop option inside breakpoints option breaks the application

Expected Behavior

I expected the slider to be as regular on resolutions more the 1000 and to loop infinitely on resolutions below 500

Actual Behavior

No response

Swiper version

8.3.2

Platform/Target and Browser Versions

Firefox 103.0.2

Validations

  • [X] Follow our Code of Conduct
  • [X] Read the docs.
  • [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • [X] 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

rahanet-ict avatar Aug 16 '22 11:08 rahanet-ict