react-native-timeline-flatlist icon indicating copy to clipboard operation
react-native-timeline-flatlist copied to clipboard

Passing ref to FlatList through options doesn't work

Open goxr3plus opened this issue 3 years ago • 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

goxr3plus avatar May 22 '22 16:05 goxr3plus

Instead of useFlatList, try isUsingFlatlist

CalebBelcourt avatar Jun 21 '22 22:06 CalebBelcourt