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

Remove bounce effect while scrolling vertically and to make smooth scroll. #217

Closed raikk closed 2 years ago

raikk commented 3 years ago

I would like to remove the bounce effect (it stuck) while scrolling the screen of the parallax header.

How to make it a smooth scroll?

try to fix this section but not working.

    const opacity = scroll.interpolate({
      inputRange: [0, 60, 100],
      outputRange: [0, 0, 1],
      extrapolate: 'extend'
    });

ezgif com-gif-maker

pi0trpietruszewski commented 3 years ago

Try bounces={false}

brambang commented 3 years ago

maybe this will fix your scrolling issue https://github.com/netguru/sticky-parallax-header/issues/212#issuecomment-926491414