-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
scrolling fast on web show bad index item #31
Comments
Thx for feedback, please upgrade to version |
It works fine on macos, this problem seems to only occur on windows. 🧐 |
I have tried to fix this problem on the |
Yes, this is normal behavior, because there was a lot of printing in the Example, and the IDE did not process it in time. This bug is caused by scrolling in Flutter Web with mouse wheel is not smooth. Related issues: The problem has not been solved yet, so for now, i use The key code is here: observer_widget.dart#L148 Future.delayed(const Duration(microseconds: 1), () { Could you please replace Future.delayed(const Duration(milliseconds: 1), () { |
i try it and maybe this is the best solution for now |
Thank you, version |
Hi i try your example and when i scroll fast with mouse on web i see different item on screen and different values are printing on observer update
this is screen
and this is last print on console
firstChild.index -- 14
displaying -- [14]
item - 14 - -20 - 456
visible -- true
firstChild.index -- 24
displaying -- [24]
item - 24 - -20 - 456
any idea what is wrong?
The text was updated successfully, but these errors were encountered: