RecyclerView-FastScroll icon indicating copy to clipboard operation
RecyclerView-FastScroll copied to clipboard

Respect clipToPadding="false"

Open zhanghai opened this issue 5 years ago • 1 comments

While respecting paddingTop/Bottom is good, RecyclerView does draw in the padding if clipToPadding="false" is specified (and this is important for use cases like reserving some bottom space for a FAB, so that the last list item can always scroll above it and be fully visible). In this case the library should also draw in the padding. That is, the fix in 472ee5f5d2cb9da70c45a4b2cadcdfacafe2972a should be applied only when View.getClipToPadding() is true.

zhanghai avatar May 28 '19 09:05 zhanghai

Does this also fix the touch issues? Currently, with clipToPadding="false", the scroller is drawn correctly (with the same padding), but it still treats touch input as though there is no padding (and thus you have to drag your finger further than where the scroller is drawn).

alexandermarinissen avatar Aug 10 '22 14:08 alexandermarinissen