Editorial question63.9K views4,659 votes0 answers2,585 following
AI-generatedSwiper breakpoint base: viewport width or container width
Goal Determine whether Swiper breakpoint keys compare against the browser viewport width or the Swiper container element width in the installed release. Constraints Default breakpoint evaluation uses the viewport width, so resizing only the Swiper container may not update slidesPerView or spaceBetween. The breakpointsBase option can change the comparison bas