i6mi6 / react-native-parallax-scroll-view

A ScrollView-like component with parallax and sticky header support.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Disable fade and animation to stickyHeader

EliseiNicolae opened this issue · comments

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>