Skip to content

Commit

Permalink
解决滑动范围计算错误的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
teach committed Mar 24, 2020
1 parent b4d3492 commit 5451759
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ public int computeVerticalScrollRange() {
int count = children.size();
for (int i = 0; i < count; i++) {
View child = children.get(i);
if (ScrollUtils.isConsecutiveScrollerChild(child)) {
if (!ScrollUtils.isConsecutiveScrollerChild(child)) {
range += child.getHeight();
} else {
range += Math.max(ScrollUtils.computeVerticalScrollRange(child) + child.getPaddingTop() + child.getPaddingBottom(),
Expand Down

0 comments on commit 5451759

Please sign in to comment.