【发布时间】:2018-08-16 04:31:23
【问题描述】:
我正在尝试在 react-native 上使用 FlatList 的 scrollToIndex 函数。但是,当我将FlatList 切换为createAnimatedComponent(FlatList) 时,它的ref 变为undefined。
当我使用createAnimatedComponent 时,有没有办法保留FlatList 的ref?
感谢您的关心。
【问题讨论】:
标签: react-native react-native-flatlist react-animated react-native-scrollview