- Issue was unassigned.
- 🇺🇸United States robbt
I was able to get this working but I ran into a weird bug that it took a lot of troubleshooting to figure out.
In my use case their should be one slidePerView by default but when I set slidesPerView: 1 it would break the responsiveness. I tried digging into the code but couldn't determine what was causing this.
If I changed my default config to slidesPerView: auto it worked and the slides were responsive above the breakpoints and I still got the 1 slide on mobile that I was looking for.
Just wanted to share this in case anyone else was running into a similar problem.
I'd love for this functionality to be added to the module but I can imagine that it isn't a super easy task as it would require making the form somewhat dynamic to be able to add new breakpoints but I could also see having a number of predefined breakpoints that could be enabled and changed via the form would be another option.
- Status changed to Closed: duplicate
7 months ago 11:14am 18 April 2024 - 🇳🇱Netherlands nk_
This is just released in 2.0.x branch. Please check out this issue: https://www.drupal.org/project/swiper_formatter/issues/3441764 ✨ Breakpoints feature Needs review which shall stay as the only one related to this feature for the time being. Closing as duplicate.