Enable FlatList scrolling after its ScrollView parent reaches certain position

Viewed 22

I have this scenario where a FlatList has a ScrollView as parent:

<ScrollView>
  <Header />
  <FlatList />
</ScrollView>

I want to disable the FlatList scrolling and only enabled it when the ScrollView reaches a certain Y position. All in a single gesture.

Is it possible?

1 Answers

To enable or disable scrolling on FlatList with React Native, we can set the scrollEnabled prop. Is this work for u?

Related