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

修复Page滚动模式下位置计算问题 #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JansonC
Copy link

@JansonC JansonC commented Aug 27, 2021

List.scrollTo方法中,原先的 comparePos 参数在 Page 滚动模式下(仅在Page模式下会有问题、其它模式不会),从右往左、从下往上布局下计算有问题。这会导致滚动列表一直处于滚动状态(_onScrolling方法一直在调用),尽管界面没有在滚动、但位置仍在计算,可能会导致内存泄露。

List.scrollTo方法中,原先的 comparePos 参数在 Page 滚动模式下(仅在Page模式下会有问题、其它模式不会),从右往左、从下往上布局下计算有问题。这会导致滚动列表一直处于滚动状态(_onScrolling方法一直在调用),尽管界面没有在滚动、但位置仍在计算,可能会导致内存泄露。
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

Successfully merging this pull request may close these issues.

1 participant