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

设置start参数或者调用scrollToIndex 时 scroll的偏移量错误问题 #359

Open
echoyl opened this issue Oct 11, 2021 · 3 comments
Labels

Comments

@echoyl
Copy link

echoyl commented Oct 11, 2021

场景
1.数据量15条,每条数据等高
2.设置keeps 为10条
现在设置start <= 3 时 scroll正常 (加载数据从第一条开始)
设置start = 4 或 5 时 scroll的偏移量就出现偏差了 (加载从第4或第5条开始)
设置start > 5 正常
(使用scrollToIndex 时和start情况一样)

作者能试下看是我哪里用的不对么

@nani123123
Copy link

nani123123 commented Dec 1, 2021

遇到了相似的问题,版本2.3.2

@gjieoo
Copy link

gjieoo commented Jun 5, 2023

有解决吗?遇到了一样的问题,版本:2.3.5
每个item的高度不定,使用scrollToIndex 时 scroll的偏移量有问题

@firimar
Copy link

firimar commented Jun 14, 2023

有解决吗?遇到了一样的问题,版本:2.3.5 每个item的高度不定,使用scrollToIndex 时 scroll的偏移量有问题

试试先调用reset再调用scrollToIndex
我这边这样暂时没发现问题

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

No branches or pull requests

4 participants