-
Notifications
You must be signed in to change notification settings - Fork 600
为什么虚拟滚动到底部,加载数据后,会出现整个虚拟滚动往上跳动呢? #285
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
Comments
来个 demo 吧,不然不好查 |
https://tangbc.github.io/vue-virtual-scroll-list/#/infinite-loading |
@tangbc |
#278 原因大概是这个,iOS 会回弹,导致方向判断错误,暂时还没有想到两全的解决办法,后面有时间在看了。 |
@tangbc web端谷歌浏览器也出现这个问题,比如单页100条,触底获取下一页数据。 示例:每次在获取数据后,都调用this.$refs.virtualListRef.getOffset()获取当前偏移量,但有时候获取不到真实的偏移量,会拿到0 |
Describe
滚动到底部后触发tobottom,然后加载数据,数据加载后,会出现虚拟滚动区域跳动到其他地方,非第一屏的底部位置
Other
The text was updated successfully, but these errors were encountered: