Eugnis/react-native-timeline-flatlist

Passing ref to FlatList through options doesn't work

Opened this issue · 1 comments

I have the following functional component

const flatListRef = useRef(null)

<Timeline .... options = { { ref: flatListRef }} useFlatList={true}} />

No matter what i do flatListRef contains always null . Something is not working properly here

Instead of useFlatList, try isUsingFlatlist