-
|
Setting new Swiper(".article-swiper", {
grid: {
rows: 2,
fill: "row",
},
breakpoints: {
768: {
grid: undefined,
},
},
})This also doesn't work: new Swiper(".article-swiper", {
slidesPerView: 2,
slidesPerGroup: 2,
spaceBetween: 7,
grid: {
rows: 2,
fill: "row",
},
breakpoints: {
768: {
grid: {
rows: undefined,
fill: undefined,
},
},
},
})There's no way to disable grid on specific breakpoints in swiper. The only available option is create different swipers for each breakpoints. Sorry to mention, do u have any idea about this @nolimits4web? |
Beta Was this translation helpful? Give feedback.
Answered by
lamualfa
Nov 8, 2025
Replies: 1 comment
-
|
Apparently, this is works. This method will reset the swiper to its default behavior. new Swiper(".article-swiper", {
slidesPerView: 2,
slidesPerGroup: 2,
spaceBetween: 7,
grid: {
rows: 2,
fill: "row",
},
breakpoints: {
768: {
grid: {
rows: 1,
fill: 'row',
},
},
},
}) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lamualfa
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Apparently, this is works. This method will reset the swiper to its default behavior.