EverythingMe / overscroll-decor

Android: iOS-like over-scrolling effect applicable over almost all scrollable Android views.
BSD 2-Clause "Simplified" License
2.85k stars 400 forks source link

ScrollView overscrolling not working. #16

Open ttcly opened 8 years ago

ttcly commented 8 years ago

Hi,if the scrollview can't scrolling, child view height is not enough, the overscrolling not working.

d4vidi commented 8 years ago

I'll look into it - thanks!

d4vidi commented 8 years ago

@xchenzhen I've tried reproducing this use-case on the demo-app and it seems to be working well. Could you provide snippet + screenshots? Otherwise I'll have to close this issue.

rstegg commented 8 years ago

Hey, not sure if this is @xchenzhen's problem, but I found that if a scrollview nests a recyclerview, then the nested recyclerview will take focus and the scrollview will not bounce. I did not test this with any other scrollviews.

So any nested RecyclerView containers will need

recyclerView.setNestedScrollingEnabled(false)