i6mi6 / react-native-parallax-scroll-view

A ScrollView-like component with parallax and sticky header support.
ISC License
2.31k stars 379 forks source link

Disable fade and animation to stickyHeader #158

Open EliseiNicolae opened 2 years ago

EliseiNicolae commented 2 years ago

It is possible to disable animation and fade to StickyHeader?

My code:

    <ParallaxScrollView
      fadeOutForeground
      parallaxHeaderHeight={400}
      stickyHeaderHeight={Platform.OS === 'ios' ? 130 : 96}
      renderStickyHeader={() => (
        <HeaderSticky />
      )}
      renderForeground={() => (
        <HeaderBackground />
      )}
    >
      <View style={styles.container}>
        <Content />
      </View>
    </ParallaxScrollView>