Nested FlatList is not scrolling if it has the same orientation as it's parent FlatList. Is this a bug?
4 Answers
Try using FlatList from react-native-gesture-handler as nested.
import { FlatList } from 'react-native-gesture-handler'
5 Comments
You need to set nestedScrollEnabled prop - https://reactnative.dev/docs/scrollview#nestedscrollenabled
2 Comments
Old question, but still an issue... If you wrap the inner FlatList in a ScrollView then it'll scroll.
After doing this I've had issues getting the inner FlatList to respond to refreshing and onEndReached (because it doesn't actually scroll itself) but depending on your use-case this might not be too much of an issue.
Comments
import { FlatList } from 'react-native-gesture-handler'
Issue link - https://github.com/facebook/react-native/issues/15375