react-native-draggable-flatlist
react-native-draggable-flatlist copied to clipboard
When we try to drag the list item which was on the bottom edges, the rest list item will auto scroll up
This package has external dependencies of react-native-reanimated and react-native-gesture-handler which must be installed separately. Before opening an issue related to animations or gestures please verify that you have completed ALL installation steps, including the changes to MainActivity.
Describe the bug A clear and concise description of what the bug is. Please see the attached video, when we try to drag the list item which was on the bottom edges, the behavior shows a little bit weird. The below list item will auto-scroll in the up direction even if I didn't drag it. This could be reproduced when I try the example case. Thanks in advance if anyone can provide a solution.
To Reproduce
Please see the attached video.
Platform & Dependencies Please list any applicable dependencies in addition to those below (react-navigation etc).
- react-native-draggable-flatlist version:3.1.2,
- Platform:React-native
- React Native or Expo version:
- Reanimated version: 2.12.0
- React Native Gesture Handler version: 2.8.0
Additional context Add any other context about the problem here.
https://user-images.githubusercontent.com/39889153/199632635-4a1459da-3aa1-48da-a327-af0f197a3928.mov
This does not look like a bug to me. This is the behavior if you took a list item from the middle of the list and dragged it near the bottom and the list will scroll up over time to reveal more places further down the list for the item to be dropped. You picked something up near the bottom, stayed there, so the list thinks perhaps you are wanting to drag it further down.