constructor (props) { super(props) this.state = { scrollY: new Animated.Value(0), } } render () { const headerTranslate = this.state.scrollY.interpolate({ inputRange: [0, HEADER_SCROLL_DISTANCE], outputRange: [0, -1 * HEADER_SCROLL_DISAPPEAR], extrapolate: 'clamp' }) return ( <View> //using the headerTranslate for my header <ScrollView scrollEventThrottle={16} onScroll={Animated.event( [{ nativeEvent: { contentOffset: { y: this.state.scrollY } } }] )} >...</ScrollView> </View> ) }