reactjs - Swiper starting at last index when slidesPerView is auto and centered slides is true - Stack Overflow

I am using Swiper with slidesPerView: 'auto', and it works perfectly, but it doesn't see

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条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信