Skip to content
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

[Bug Report] swipe loop模式下滚动到最后会闪动 #7828

Closed
ZhengXiaowei opened this issue Dec 28, 2020 · 2 comments
Closed

[Bug Report] swipe loop模式下滚动到最后会闪动 #7828

ZhengXiaowei opened this issue Dec 28, 2020 · 2 comments

Comments

@ZhengXiaowei
Copy link
Contributor

设备 / 浏览器

macOS / mobile

Vant 版本

3.0.1

Vue 版本

3.0.4

重现链接

http://normal-image.xiaovv-web.com/normal/2020-12-28-swipe-bug.gif

描述问题

loop滚动问题

@ZhengXiaowei
Copy link
Contributor Author

用的是最简单的demo

const renderSwipes = () => {
      return (
        <van-swipe class="my-swipe" autoplay={3000} height={250}>
          <van-swipe-item>1</van-swipe-item>
          <van-swipe-item>2</van-swipe-item>
          <van-swipe-item>3</van-swipe-item>
          <van-swipe-item>4</van-swipe-item>
        </van-swipe>
      );
    };

@chenjiahan
Copy link
Member

可以用 Vue 3.0.3 试下,参见 #7709

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants