-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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
RefreshIndicator shows glow #94933
Comments
/cc @Piinks as I think she might be interested in this one |
Hi @nt4f04uNd, I'm not entirely sure that this is an issue with the Screen.Recording.2021-12-09.at.13.50.50.mov |
Thanks for reporting @nt4f04uNd! I am curious (I am not super familiar with native android), Is the glow disabled only on the edge where the refresh indicator appears from, or is there no glow at either end? Thanks! |
Glow isn't fully disabled, it still can be shown if user drags, but refresh indicator is not triggered, e.g. long distance fling that bumps into the start of the list. On the edge where there's no refresh indicator the glow is shown normally. Here's a video video.mp4 |
Oh wow! Thanks for the video, that is very helpful. This looks a bit more complex than I first thought, we'll have to find a way to distinguish what kind of gesture triggers the glow and which triggers the refresh, and communicate that across those widgets as far as who claimed it. I am also curious what the Android 12 behavior is as there is no glowing indicator anymore. |
Steps to Reproduce
flutter run
on the code sampleExpected results: no glow
Actual results: glow
Note that glow doesn't start after the refresh indicator stops, it starts even during the drag. With the current drag extent percentage (the fraction of a viewport to drag for indicator to be fully extended) this might not be obvious, but if modified from 0.25 to 0.75 it's more clear. In the video the 0.75 version is shown.
Code sample
Logs
video.mp4
The text was updated successfully, but these errors were encountered: