overscroll-decor icon indicating copy to clipboard operation
overscroll-decor copied to clipboard

iOS overflow bounce occurs whenever the scroll reaches the top

Open mathew-kurian opened this issue 9 years ago • 11 comments

You don't need to scroll to the top and then try to scroll past it.

Just a heads up.

mathew-kurian avatar Dec 05 '15 16:12 mathew-kurian

Hey bluejamesbond, thanks for the submission! Could you possibly help out with more info - perhaps describe the use-case in more detail? A screenshot would be awesome.

Thanks!

d4vidi avatar Dec 05 '15 19:12 d4vidi

Bear in mind that I am using the RecyclerView implementation. However, to accurately mimic iOS, the library should also keep track of the fling speed (regardless of starting position) and perform the overflow bounce when the scroll reaches the top which based off the last fling speed. At the moment, it seems like the overscroll is only performed when the user tries to manually scroll past the extremes namely scrollTop = 0 or scrollTop = max. Hope this helps :)

mathew-kurian avatar Dec 06 '15 06:12 mathew-kurian

Sure, that totally clarifies it. And indeed, auto-over-scrolling due to fling-to-top/bottom events isn't supported. It's not trivial to implement, so perhaps in future releases. Thanks for explaining this, though -- I'll figure out a way to update the project description to convey that!

d4vidi avatar Dec 06 '15 13:12 d4vidi

+1

stephen-workpop avatar Feb 13 '16 00:02 stephen-workpop

thanks for the library

also +1

SteveYurka avatar Feb 15 '16 08:02 SteveYurka

also +1

flavius-mester avatar Feb 21 '16 19:02 flavius-mester

also +1

yanlusu avatar Apr 08 '16 14:04 yanlusu

According to bluejamesbond mention above,I think Backboard and rebound are existing libs can be used

brucetoo avatar Jun 16 '16 09:06 brucetoo

Yes, that is why this library is not feeling as smooth as IOS.

plastic-kai avatar Aug 02 '16 15:08 plastic-kai

also +1

tombcato avatar Sep 11 '16 03:09 tombcato

This would definitely improve the lib a lot!

FelipeRRM avatar Feb 07 '17 17:02 FelipeRRM