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

Estimation for GridView infinitely #4

Closed
SimonWang9610 opened this issue Mar 16, 2023 · 1 comment
Closed

Estimation for GridView infinitely #4

SimonWang9610 opened this issue Mar 16, 2023 · 1 comment

Comments

@SimonWang9610
Copy link
Owner

Since the current estimation for GridView does not consider the cross count when using jumpToIndex and animateToIndex, it would try estimating the scroll offset infinitely when jumping or animating.

iShot_2023-03-16_11.10.21.mp4

The main reason is that each estimation for index cannot hit the exact scroll offset, and consequently, jumping or animating would estimate forever.

@SimonWang9610
Copy link
Owner Author

Solved by 2340f71

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

1 participant