Swiper is broken when the data length is less than the slidesPerView. #5365
-
Hey there! There is a strange issue we encountered in the carousel we created using Swiper. (React.js) Carousel breaks down when data length is less than slidesPerView. Example: When we've data with 4 items, "slidesPerView: 5" on 1024 breakpoint, the Carousel was broken on image/item width and Swiper can't calculate.
** Is there anyone who can help us with this problem? We want to know what we did wrong. example.mp4Our breakpoints are like this:
Our Swiper layout is like this:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
ah, that's my fault. Swiper is broken cause of the flexbox in the main container. fixed. |
Beta Was this translation helpful? Give feedback.
ah, that's my fault. Swiper is broken cause of the flexbox in the main container.
fixed.