laenger / ViewPagerBottomSheet

Use ViewPagers in Bottom Sheets!
Apache License 2.0
465 stars 86 forks source link

Does not handle multiple scrollable children #9

Closed SivaramSS closed 6 years ago

SivaramSS commented 7 years ago

The scroll events are not dispatched when there are adjacent children that can scroll, like scenario below.

<LinearLayout
     ...
     layout_behavior="bottom_sheet" >

   <RecyclerView/>
   <NestedScrollView/>
   <ViewPager />

</LinearLayout>
laenger commented 7 years ago

the original bottom sheet behavior has the same property

SivaramSS commented 7 years ago

Yeah, the original bottom sheet behaviour has only one scrollable child object. It would be useful if there was a list of scrollable children.

me-abhinav commented 7 years ago

@SivaramSS You can wrap your recyclerViews in a single NestedScrollView.

hunglv-fs commented 7 years ago

same problem. still not solve

laenger commented 6 years ago

no plans to add support here. but seems as if @SivaramSS implemented corresponding changes in his fork