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

Swiper H5 autoplay #6277

Closed
Bravo123 opened this issue May 9, 2020 · 5 comments · Fixed by #6565
Closed

Swiper H5 autoplay #6277

Bravo123 opened this issue May 9, 2020 · 5 comments · Fixed by #6565
Assignees

Comments

@Bravo123
Copy link

Bravo123 commented May 9, 2020

问题描述

swiper设置了autoplay属性,但是只能循环一遍,到了最后一个swiperItem之后就不动了。

复现步骤

期望行为

同微信小程序滚到最后一个之后会重新回到第一个swiperItme继续

报错信息

系统信息

Taro v1.3.16

Taro CLI 1.3.16 environment info:
System:
OS: macOS 10.15.3
Shell: 5.7.1 - /usr/local/bin/zsh
Binaries:
Node: 10.16.3 - /usr/local/bin/node
Yarn: 1.21.1 - ~/.yarn/bin/yarn
npm: 6.9.0 - /usr/local/bin/npm
npmPackages:
@tarojs/async-await: 2.2.3 => 2.2.3
@tarojs/cli: 2.2.3 => 2.2.3
@tarojs/components: 2.2.3 => 2.2.3
@tarojs/plugin-babel: 2.2.3 => 2.2.3
@tarojs/plugin-csso: 2.2.3 => 2.2.3
@tarojs/plugin-sass: 2.2.3 => 2.2.3
@tarojs/plugin-uglifyjs: 2.2.3 => 2.2.3
@tarojs/router: 2.2.3 => 2.2.3
@tarojs/taro: 2.2.3 => 2.2.3
@tarojs/taro-alipay: 2.2.3 => 2.2.3
@tarojs/taro-h5: 2.2.3 => 2.2.3
@tarojs/taro-qq: 2.2.3 => 2.2.3
@tarojs/taro-quickapp: 2.2.3 => 2.2.3
@tarojs/taro-swan: 2.2.3 => 2.2.3
@tarojs/taro-tt: 2.2.3 => 2.2.3
@tarojs/taro-weapp: 2.2.3 => 2.2.3
@tarojs/webpack-runner: 2.2.3 => 2.2.3
eslint-config-taro: 2.2.3 => 2.2.3
eslint-plugin-taro: 2.2.3 => 2.2.3
nerv-devtools: ^1.5.6 => 1.5.6
nervjs: ^1.5.6 => 1.5.6
stylelint-config-taro-rn: 2.2.3 => 2.2.3
stylelint-taro-rn: 2.2.3 => 2.2.3
npmGlobalPackages:
typescript: 3.6.4

补充信息

如果您有功能上的建议,可以提到 FeatHub

使用上的问题,欢迎在「Taro 社区」一起交流

@taro-bot
Copy link

taro-bot bot commented May 9, 2020

CC @Littly

@taro-bot
Copy link

taro-bot bot commented May 9, 2020

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~

@psaren
Copy link
Contributor

psaren commented May 10, 2020

这问题是taro-ui的issue吧
提错地方了

@Bravo123
Copy link
Author

这问题是taro-ui的issue吧
提错地方了

no

@astrocean
Copy link

这个停止滚动的原因是 stopOnLastSlide: true

而你直接把人家逻辑改了,导致了大家反馈的无法关闭循环的问题

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

Successfully merging a pull request may close this issue.

4 participants