Swiper Screen Flickering Issue with antd-mobile

While working on a mobile project, I used Swiper for page switching. However, the page also contains other Swiper carousels and content. When sliding the outer Swiper, elements inside the inner Swiper would flicker.

Solution: Apply CSS to the parent element of the outer container: transform: translate3d(0,0,0); overflow: hidden;

Flickering elements/child elements: transform: translate3d(0,0,0)


评论

暂无评论。

登录后可发表评论。