-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
taro next h5 component Swiper 动态更新swiperItem数量样式错乱且不能滑动 #6179
Comments
欢迎提交 Issue~ 如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏 如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。 Good luck and happy coding~ |
workaround: 更新
|
ZakaryCode
added a commit
that referenced
this issue
Nov 6, 2020
ZakaryCode
added a commit
that referenced
this issue
Nov 9, 2020
This was referenced Nov 17, 2020
这个swiper也太蛋疼了吧 只要是动态渲染swiperItem就会一直疯狂重渲染... 然后只能给swiper加个key这种蛋疼的操作 什么鬼bug |
非 circular 模式下确实会有该问题,将在下一个版本修复 |
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述
taro next
beta5 react h5 component动态增加SwiperItem
数量,Swiper
样式错乱, 不能滑动减少
SwiperItem
数量直接报错复现步骤
增加
swiperItem
数量减少
SwiperItem
数量期望行为
动态更新
SwiperItem
数量Swiper
h5 端样式不会错乱且能够滑动, 和小程序保持一致报错信息
增加swiperItem数量
h5 截图

小程序截图

减少SwiperItem数量
h5 报错截图

系统信息
补充信息
The text was updated successfully, but these errors were encountered: