Skip to content

Commit

Permalink
fix(listview): Adjust scrollbar height to avoid duplicating the heade…
Browse files Browse the repository at this point in the history
…r size
  • Loading branch information
jeromelaban committed Sep 19, 2023
1 parent c2218df commit 471298f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ private int ComputeScrollRange(RecyclerView.State state, Orientation orientation

CorrectForEstimationErrors();

var range = ContentOffset + remainingItemExtent + remainingGroupExtent + headerExtent + footerExtent +
var range = ContentOffset + remainingItemExtent + remainingGroupExtent + footerExtent +
//TODO: An inline group header might actually be the view at the bottom of the viewport, we should take this into account
GetChildEndWithMargin(base.GetChildAt(FirstItemView + ItemViewCount - 1));
Debug.Assert(range > 0, "Must report a non-negative scroll range.");
Expand Down

0 comments on commit 471298f

Please sign in to comment.