Is it possible to disable Swiper on certain breakpoints? #6442
Unanswered
KaneTheSWDev
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As the title says, im wondering if it's possible to disable a Swiper when hitting a certain breakpoint?
<Swiper updateOnWindowResize={true} breakpoints={{ 640: { slidesPerView: 1 }, 768: { slidesPerView: 2 }, 1024: { slidesPerView: 3, enabled: false } }} >
After looking at the docs, I thought it would be possible to do something like above but this seems to work once and then doesn't re-enable?
is this something that is feasible? Sorry if I've overlooked something in the documentation or something, but any help would be much appreciated
Beta Was this translation helpful? Give feedback.
All reactions