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

高度传100%的时候,getVisibleRange第一个参数不是number类型导致stop计算错误 #4

Open
xcqbb opened this issue Aug 9, 2022 · 1 comment

Comments

@xcqbb
Copy link

xcqbb commented Aug 9, 2022

while (offset < maxOffset && stop < this.itemCount - 1) {
stop++;
offset += this.getSizeAndPositionForIndex(stop).size;
}
这一段判断变成了 offset < '100%'

@drawcall
Copy link
Member

drawcall commented Aug 9, 2022

可以提交一个pr

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

No branches or pull requests

2 participants