React-Native Scrollview and FlatList's scroll conflicting with each other

Viewed 2081

enter image description here I am running into an issue and the issue is i am working with scrollview and Flat List basically i have a view in which as we can see static view on top and some tabs on the centre of the screen and i am using flat list to render the tabs data which is quite large but i want to to scroll top static profile view while i scroll Flat List so the upper profile will also scroll while scrolling Flat list for that i wraps a scrollview on the root of this view but when i scroll flat list scroll and scrollviews scroll conflicting with each other and as a result i can't scroll to bottom or top in centre of the Flat List, any suggestion about this ?

return (
  <ScrollView nestedScrollEnabled style={{flex: 1}}>
      <ProfileView />
      <ProfileTabView />
  </ScrollView>)

I want to render Flat List inside scrollview and they shouldn't make any conflict with each other while scrolling and scroll not shouldn't be stuck in the centre of Flat List.

1 Answers
Related