Skip to content

Conversation

@HansMuller
Copy link
Contributor

  • The refresh indicator now slides out of view if it wasn't dragged far enough to trigger the refresh callback.
  • Once a refresh is underway, the indicator stays put, even if the underlying scrollable is scrolled.
  • The implementation now keeps track of the overscroll distance (_dragOffset) itself. The refresh indicator will appear even if overscrolling isn't possible.

Fixes #4829
Fixes #4831
Fixes #4834

final double scrollOffset = scrollable.scrollOffset;
switch (config.location) {
case RefreshIndicatorLocation.top:
return scrollOffset <= minScrollOffset;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extra space :)

@abarth
Copy link
Contributor

abarth commented Jul 7, 2016

LGTM

@HansMuller HansMuller merged commit 0f15263 into flutter:master Jul 7, 2016
@HansMuller HansMuller deleted the refresh_indicator_refresh branch July 7, 2016 23:30
cdotstout pushed a commit to cdotstout/flutter that referenced this pull request Apr 3, 2018
macOS doesn't include GLES support.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

2 participants