Swiper.js在大屏幕上工作,但在移动环境下却不能工作。
init道具
<Swiper
effect={"coverflow"}
grabCursor={true}
centeredSlides={true}
slidesPerView={"auto"}
coverflowEffect={{
rotate: 30,
stretch: 0,
depth: 200,
modifier: 1,
slideShadows: true,
}}
>发布于 2022-06-28 19:49:25
我无法证明这是为什么,但我很肯定这是coverflowEffect的一个bug。我刚刚花了几个小时调试这个问题,并删除coverflowEffect修复了滑块。一旦我重新引入它,移动刷就会再次中断。
https://stackoverflow.com/questions/68905919
复制相似问题