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

I found that it would automatically scroll several times the first time #299

Open
zjypp opened this issue Jun 8, 2023 · 0 comments
Open

Comments

@zjypp
Copy link

zjypp commented Jun 8, 2023

I obtained the data list through the backend interface, and when binding the card swiper, I found that it would automatically scroll several times the first time before stopping at the index position. This is why and how to avoid this problem, so that it should not automatically scroll a few times and directly locate at the index position the first time

This is the log of index changes that I output,
Finally locate at index=2

I/flutter (23982): spwiere index , 0
I/flutter (23982): spwiere index , 0
I/flutter (23982): spwiere index , 4
I/flutter (23982): spwiere index , 4
I/flutter (23982): spwiere index , 1
I/flutter (23982): spwiere index , 1
I/flutter (23982): spwiere index , 4
I/flutter (23982): spwiere index , 2
I/flutter (23982): spwiere index , 5
I/flutter (23982): spwiere index , 5
I/flutter (23982): spwiere index , 2
I/flutter (23982): spwiere index , 5
I/flutter (23982): spwiere index , 0
I/flutter (23982): spwiere index , 3
I/flutter (23982): spwiere index , 3
I/flutter (23982): spwiere index , 5
I/flutter (23982): spwiere index , 4
I/flutter (23982): spwiere index , 0
I/flutter (23982): spwiere index , 5
I/flutter (23982): spwiere index , 2
I/flutter (23982): spwiere index , 5
I/flutter (23982): spwiere index , 0
I/flutter (23982): spwiere index , 1
I/flutter (23982): spwiere index , 5
I/flutter (23982): spwiere index , 2
I/flutter (23982): spwiere index , 3
I/flutter (23982): spwiere index , 4
I/flutter (23982): spwiere index , 5
I/flutter (23982): spwiere index , 0

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