I have a vertical scrolling ViewPager2
and the last children contains a RecyclerView
scrolling on the same direction.
This is causing a conflicting behaviour, the ViewPager2
always steal the scroll event when I am at the page containing this RecyclerView
. The only way to make the scroll inside the RecyclerView
is if I scroll really slow, if I make it fast, like a swipe event the ViewPager2
gets scrolled and changes the page.
Currently I'm doing a fix that involves disabled the user interaction changing the flag isUserInputEnabled
to false when the page of the ViewPager2
changes to this page that contains the RecyclerView
, but a generic solution from the framework would be welcome :)