AnimatedBottomBar icon indicating copy to clipboard operation
AnimatedBottomBar copied to clipboard

setNestedScrollingEnabled is not respected

Open Droppers opened this issue 4 years ago • 0 comments

It currently intercepts all touch events in a nested scrollview. This is difficult to configure since setNestedScrollingEnabled is ignored, when calling this method the value should also be set for the inner RecyclerView.

Temporary workaround using reflection:

val field = bottom_bar.javaClass.getDeclaredField("recycler")
field.isAccessible = true

val recycler = field.get(bottom_bar) as RecyclerView
recycler.isNestedScrollingEnabled = false

Droppers avatar Oct 20 '21 14:10 Droppers