nolimits4web / swiper

Most modern mobile touch slider with hardware accelerated transitions

Home Page:https://swiperjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`slidesPerView: "auto"` and virtual slides support

papaj-na-wrotkach opened this issue · comments

Clear and concise description of the problem

From virtual slides docs

Note that according to Virtual Slides realization it doesn't work with Grid module and slidesPerView: 'auto'

Are there any plans to make the virtual module work with the slidesPerView property set to "auto"? I would like to be able to use these two things together.

Suggested solution

I haven't looked at the source code, so I don't have any suggestions, sorry 🙁

Alternative

In my project, I won't use virtual slides for now, because using a fixed slidesPerView value would change the width of my slides (I don't want larger gaps between slides on wider screens).

Additional context

No response

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.

Would you like to open a PR for this feature?

  • I'm willing to open a PR