overscroll-decor
overscroll-decor copied to clipboard
iOS overflow bounce occurs whenever the scroll reaches the top
You don't need to scroll to the top and then try to scroll past it.
Just a heads up.
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!
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 :)
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!
+1
thanks for the library
also +1
also +1
also +1
According to bluejamesbond mention above,I think Backboard and rebound are existing libs can be used
Yes, that is why this library is not feeling as smooth as IOS.
also +1
This would definitely improve the lib a lot!