I am using Swiper with slidesPerView: 'auto'
, and it works perfectly, but it doesn't seem to work as expected when centeredSlides: true
. I have created a CodeSandbox to demonstrate the issue. It starts at the last index when centeredSlides
is true.
I expect it to start based on the initial slide.
But it works perfectly fine when not using images, like here React Swiper Demos
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742317314a4421098.html
评论列表(0条)