Skip to content

Commit

Permalink
fix last row not visible when doing partial scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
fabOnReact committed Feb 16, 2022
1 parent cafe0ab commit ee23f45
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ private int getScrollDelta(View descendent) {
private boolean isPartiallyScrolledInView(View descendent) {
int scrollDelta = getScrollDelta(descendent);
descendent.getDrawingRect(mTempRect);
return scrollDelta != 0 && Math.abs(scrollDelta) < mTempRect.height();
return Math.abs(scrollDelta) < mTempRect.height();
}

private void scrollToChild(View child) {
Expand Down

0 comments on commit ee23f45

Please sign in to comment.