diff options
author | 2023-08-04 15:30:05 -0700 | |
---|---|---|
committer | 2023-08-08 21:23:19 +0000 | |
commit | 6ee69ed2e6b7d2e7abe1a50b12c327d9dc38fd08 (patch) | |
tree | 9c19f875ebdb078ee8e4e3f6e8a723b0d66c8b89 /api/api.go | |
parent | 336c012b6ecfb45f919229ea6c2b7604d79e443f (diff) |
Fix ScrollView and HorizontalScrollView overscroll retraction
Bug: 288270962
When overscrolling, the scroll was being stuck beyond the range
of the scroll. This left it in a funny position and the next
time the ScrollView or HorizontalScrollView had an interaction,
it would snap to a valid scroll offset.
This CL allows the scrolling to move the content back to the
expected position without affecting the stretch.
Test: new tests, manual testing
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3bd8d8e9a98922a9d5201e0cc6484753512ec97d)
Merged-In: I8f5ae18d44adf55d9ce026b0e31f3d1a140d57c6
Change-Id: I8f5ae18d44adf55d9ce026b0e31f3d1a140d57c6
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions