Created by: hansonchris
This will allow child views with horizontally scrollable content to behave as expected, regardless of the state of the panel.
My specific issue is this: I have a RecyclerView
which has a LinearLayoutManager
with a horizontal orientation. This RecyclerView
is one of many children inside a ScrollView
, and of course, this ScrollView
is set as the scrollable view in the SlidingUpPanelLayout
.
When the panel was in the COLLAPSED
or ANCHORED
states, horizontal scrolls on this RecyclerView
were awkward. They felt sluggish, and often weren't handled properly.
I would also expect this code change to fix the issue reported in https://github.com/umano/AndroidSlidingUpPanel/issues/679.