Closed ashokkumar88 closed 6 years ago
Hi @ashokkumar88. I think you are not using this lib correctly. You can pass FlatList
as a scrollableComponent
prop to ParallaxScroll
:
<ParallaxScroll
data={this.props.list}
keyExtractor={(item,index) => index}
renderItem={this._renderItem}
initialNumToRender={10}
onRefresh={this.handleRefresh}
refreshing={this.state.refreshing}
scrollableComponent={FlatList}
{...parallaxScrollProps}
>
{...}
</ParallaxScroll>
Issue details
I am using parallax scroll with Flatlist component. But the Pull to Refresh not working.
Steps to reproduce
Enable Pull to refresh in Flatlist and then you pull the list from top.
Please specify which versions of the RN and ParallaxScroll
Affected platforms
Screenshots / Screencast / Code Snippets (Optional)