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

There is a gap between the content and the picture when you drop down.

opened this issue · comments

I do not want to set the outputScaleValue.

I changed the translateY of background style
translateY: interpolate(scrollY, { inputRange: [-p, 0, p], outputRange: [(window.height / backgroundScrollSpeed), 0, -(window.height / backgroundScrollSpeed)], extrapolateRight: 'extend', extrapolateLeft: 'clamp' })