bamlab / bamlab/react-native-image-header-scroll-view
render Fixed Foreground problem
- Dominant language
- TypeScript
- Stars
- 1k
- Forks
- 101
- PR merge metrics
- No merged PRs in 30d
Description
I used Flat list in the render fixed foreground and in the flat list image scrolling animation is working
(
_renderService(item, index)}
decelerationRate={0.8}
bounce={false}
snapToInterval={width}
onScroll={Animated.event(
[{ nativeEvent: { contentOffset: { x: scrollX } } }],
{ useNativeDriver: false },
)}
/>
{Service
? Service.map((Service, index) => {
let opacity = position.interpolate({
inputRange: [index - 1, index, index + 1],
outputRange: [0.2, 1, 0.2],
extrapolate: 'clamp',
});
return (
);
})
: null}
)}
>
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.