Open Jidahan opened 2 months ago
resolved! use GestureHandlerRootView include DraggableFlatList
import {GestureHandlerRootView} from 'react-native-gesture-handler';
<GestureHandlerRootView style={{flex: 1}}>
<DraggableFlatList
style={{backgroundColor: '#f5f5f5', width: '100%'}}
data={data}
keyExtractor={item => item.id}
renderItem={({item, drag, isActive}) => (
<Text>123</Text>
)}
/>
</GestureHandlerRootView>
Thanks @Jidahan, I had the same issue, and this solved it for me.
After introduction, the page directly reports an error
Platform & Dependencies Please list any applicable dependencies in addition to those below (react-navigation etc).
Additional context Add any other context about the problem here.