netguru / sticky-parallax-header

A simple React Native library, enabling the creation of fully customized header for your iOS and Android apps.
https://netguru.github.io/sticky-parallax-header/
MIT License
1.86k stars 190 forks source link

Update default decelerationRate to normal #191

Closed jawang94 closed 2 years ago

jawang94 commented 3 years ago

Changing the decelerationRate of AnimatedScrollView inside StickyParallalHeader.js to normal for more user friendly scrolling experience on longer item lists. I realize there is another PR in the works for adding a decelerationRate prop but this one should be an easy merge and something i think most people would enjoy. Fast deceleration is way too difficult to scroll on any paginated list (I have a FlatList of posts inside the ScrollView).

mateusz1913 commented 2 years ago

Closing, since we have v1.0.x release candidate, which provides possibility to override all scroll props (also decelerationRate)