-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
swiperRef.swipeTo
在连续跨越loop边界时会混乱
#6261
Comments
应该是动画未完成后再点击就会出现闪烁,看着挺蛋疼的😋 |
我加了一个backdrop-filter的蒙层,也出现了边界闪烁 |
` .bgBanner { .bannerTopContentBg { import { Swiper, Button } from 'antd-mobile' export default function Home() { {/* Swiper */} <Swiper autoplay loop
); |
可以像提问的人一样弄个 codesandbox 吗,你发的代码感觉有点不全~ https://codesandbox.io/ |
Version of antd-mobile
5.32.0
Operating system and its version
No response
Browser and its version
Edge114
Sandbox to reproduce
https://codesandbox.io/s/interesting-sanderson-qzhw35
What happened?
以sandbox中的例子,Swiper中有6个Item
swipeTo(index)
连续快速切换-1和0位置时表现正常; 切换到-1并等待动画结束后再切换到0就会向另一个方向滚动Relevant log output
No response
The text was updated successfully, but these errors were encountered: