Skip to content

Commit

Permalink
滑动范围的计算问题
Browse files Browse the repository at this point in the history
  • Loading branch information
teach committed Apr 24, 2020
1 parent df736a3 commit d0489be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1219,7 +1219,7 @@ public int computeVerticalScrollRange() {
if (!ScrollUtils.isConsecutiveScrollerChild(child)) {
range += child.getHeight();
} else {
range += Math.max(ScrollUtils.computeVerticalScrollRange(child) + child.getPaddingTop() + child.getPaddingBottom(),
range += Math.max(ScrollUtils.computeVerticalScrollRange(child),
child.getHeight());
}
}
Expand Down

0 comments on commit d0489be

Please sign in to comment.