diff --git a/src/index.js b/src/index.js index 594c906..359f181 100644 --- a/src/index.js +++ b/src/index.js @@ -295,7 +295,7 @@ class ParallaxScrollView extends Component { style={{ transform: [{ translateY: interpolate(scrollY, { - inputRange: [0, p], + inputRange: [parallaxHeaderHeight - stickyHeaderHeight - 20, p], outputRange: [stickyHeaderHeight, 0], extrapolate: 'clamp' })