Skip to content

Update stretching overscroll clip behavior#97678

Merged
Piinks merged 3 commits intoflutter:masterfrom
Piinks:updateStretch
Feb 18, 2022
Merged

Update stretching overscroll clip behavior#97678
Piinks merged 3 commits intoflutter:masterfrom
Piinks:updateStretch

Conversation

@Piinks
Copy link
Contributor

@Piinks Piinks commented Feb 2, 2022

Follow up to #95593

Fixes #97867

Now that Clip.none is a valid clipBehavior for ClipRect, we can update the stretching overscroll indicator to resolve internal customer issue b/210103825

This issue pointed out that state deactivation was happening in the customer's scroll view because the clipping widget was being removed from the tree, rather than just modifying the clip behavior, forcing everything to be rebuilt.

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
  • I signed the CLA.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is test-exempt.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@Piinks Piinks added framework flutter/packages/flutter repository. See also f: labels. f: scrolling Viewports, list views, slivers, etc. c: rendering UI glitches reported at the engine/skia or impeller rendering level a: layout SystemChrome and Framework's Layout Issues labels Feb 2, 2022
@goderbauer goderbauer requested a review from chunhtai February 9, 2022 22:43
Copy link
Contributor

@chunhtai chunhtai left a comment

Choose a reason for hiding this comment

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

LGTM

@Piinks
Copy link
Contributor Author

Piinks commented Feb 18, 2022

FroB seems to have lost this PR, I found the cl it generated and it passed, but FroB will not allow me to set it green since it cannot find it. Manually merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: layout SystemChrome and Framework's Layout Issues c: rendering UI glitches reported at the engine/skia or impeller rendering level f: scrolling Viewports, list views, slivers, etc. framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

StretchingOverscrollIndicator reset scrolling offset

2 participants