bamlab / bamlab/react-native-image-header-scroll-view
Unable to use Carousel component in renderHeader prop
- Dominant language
- TypeScript
- Stars
- 1k
- Forks
- 101
- PR merge metrics
- No merged PRs in 30d
Description
Hi There,
I want to customise renderHeader prop by passing carousel component.
`
renderHeader={() =>
{ this._carousel = c; }}
data={this.state.entries}
renderItem={this._renderItem}
sliderWidth={Dimensions.get('window').width}
itemWidth={Dimensions.get('window').width}
onSnapToItem={(index) => this.setState({ activeSlide: index }) }
/>
}
`
But the horizontal scroll doesn't work in it. However if pass the same carousel component in renderForeground prop then it works.
Could you please advice on it?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.