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

Not able to scroll flatList content fully inside ParallaxScrollview

Balasnest opened this issue · comments

I could not able to scroll the flatList fully. Whatever the content added inside the ParallaxScrollView, could not able to see till the end. I can see the content until parallaxHeaderHeight header height hidden.

Check the demo here

What would be the problem ?

<ParallaxScrollView
	          style={...}
	          parallaxHeaderHeight={ PARALLAX_HEADER_HEIGHT }
	          stickyHeaderHeight={ STICKY_HEADER_HEIGHT }
	          onScroll={ onScroll }
	          renderStickyHeader={ this.renderStickyHeader.bind(this) }
	          renderForeground={ this.renderForeground.bind(this) }
	          renderBackground={ this.renderBackground.bind(this) }> 
                       <View>...</View>
                       <View>...</View>
                      <FlatList
			 data={data}
			 renderItem={this.renderItem}
		        keyExtractor={item => item.id}
		  />
  </ParallaxScrollView>

I am also facing the same issue...... I put ListView inside ParallaxScrollView but could not scroll the content inside the ListView.....Looking for help.....
Platform-----ios

I am also facing the same issue for android build its working in android simulator when using mouse scroll button but in device the Flatlist scroll is not working.

Hey guys, I had the same issue on Android and I was able to solve it by specifying height: null in the style object of the FlatList.

Hope it helps

I put ListView inside ParallaxScrollView. In android, it's working fine but in IOS it could not scroll the content inside the ListView. What can be the issue? Any help

Hello, I would like to ask you how to solve this problem

Anyone find a solution to this? Seeing it also