computerjazz / react-native-draggable-flatlist

A drag-and-drop-enabled FlatList for React Native
MIT License
1.96k stars 412 forks source link

Nested list example not working #530

Open Sabrinovsky opened 7 months ago

Sabrinovsky commented 7 months ago

Describe the bug The nested example from the readme is not working: https://snack.expo.dev/@computerjazz/draggable-flatlist-examples

To Reproduce Access the link example. Not working on android physical and emulator.

downright-development commented 6 months ago

Upvote - tried the snack today and it simply crashes in expo go

alexfoxy commented 4 months ago

Yep, not working! Upgraded all the packages and crashes on device.

arpitv96171 commented 2 months ago

it is most likely that the snack example is using expo > 48 on the website and the example is using expo 48, which can cause this. you will have to set expo version to 48 to be able to run it.

as for mobile, expo snack needs to be a certain version (max supported expo go app version 2.28.7) to be able to run expo 48 code, for which you can go to Expo Go

arpitv96171 commented 2 months ago

you can very well test it out on simulators by following below steps:

  1. Delete yarn.lock and node_modules
  2. Run yarn within Example folder
  3. Run npx expo install --fix within Example folder
  4. Wrap root app in <GestureHandlerRootView style={{ flex: 1 }}></GestureHandlerRootView> in the file Example/App.tsx
  5. Change makeUrl to createUrl in Example/navigation/LinkingConfiguration.ts
  6. Run yarn ios