Swiper: Prevent swiping if all slides are visible?

Created on 5 Apr 2018  路  2Comments  路  Source: nolimits4web/swiper

Is there a way to prevent swiping automatically if all slides are visible? I have a swiper gallery with a few slides that require swiping controls on mobile devices, but if the browser window is made bigger, then all slides are visible on-screen and there is no longer a need to swipe.

Most helpful comment

Take a look at the watchOverflow parameter : http://idangero.us/swiper/api/#parameters
I think it will solve your problem.

All 2 comments

Take a look at the watchOverflow parameter : http://idangero.us/swiper/api/#parameters
I think it will solve your problem.

Sorted, thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TomDeSmet picture TomDeSmet  路  3Comments

cristianfierro picture cristianfierro  路  4Comments

nicolebo picture nicolebo  路  3Comments

aeblin picture aeblin  路  3Comments

RyanGosden picture RyanGosden  路  3Comments