-
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
taro3.0 使用virtuallist 在ios上抖动严重 #8125
Comments
升级到最新版本试试 |
升级到最新版本已解决 |
又抖动了。。。v3.0.28 |
3.0.23不会抖动,升级到3.1.0就出现抖动 |
3.0.28这个版本对scrollTo后滚动返回顶部做了修复。在scrollTo后滚动会强制设置scrollview的scrolltop,但是这样好像会引起不期望的rerender然后就会抖动。 |
我们再看一下的。 |
@leo43555483 可以提供一个可复现的 demo 么~ |
公司项目不太方便,我用virtuallist文档提供的demo代码测试滚动会有轻微抖动。 |
Taro 3.1.0 问题依然存在 |
不好意思之前用手机回复打错了,应该是 if(this.state.scrollTop !== to) { 然后
|
@Chen-jj Taro 3.1.2存在此问题,ios和android模拟器都存在此问题,回退版本到3.0.27无此问题。VirtualList示例单独运行无问题,但是有其他dom元素存在时,滑动列表,列表上下抖动,其scroll-to的值会一直变化。 |
@Chen-jj 3.2.1依然抖动很厉害呀 |
+1 抖抖抖 |
3.2.6 应该解决了 |
Duplicate of #8936 |
相关平台
微信小程序
小程序基础库: 2.14.0
使用框架: React
复现步骤
复制官方的virtuallist代码示例,在iOS手机上滑动就抖动很明显,安卓上没问题
期望结果
iOS手机上不要抖动
实际结果
iOS手机抖动明显
环境信息
The text was updated successfully, but these errors were encountered: