computerjazz / react-native-draggable-flatlist

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

Android: Autoscroll stops working after drag to the end of the list #313

Open besouro7 opened 3 years ago

besouro7 commented 3 years ago

Describe the bug Hello, I have a list of items within DraggableFlatList, if I try to drag item to the end of the list, autoscroll stops working. Works fine till you reach the end of the list. onScrollOffsetChange stops firing on drag. You can still scroll manually, but not with autoscroll. Seems like this happens only inside react-navigation stack screen. Demo example from your lib has exactly same problem if you put it inside stack screen. Works fine in the root of the app.

To Reproduce Use demo example, put it inside react-navigation stack screen, try to drag at the end of the list -> autoscroll will stop working.

Platform & Dependencies

Works completely fine on iOS

taniaIas commented 3 years ago

Hello! I have the same problem. Autoscrolling does not work inside the stack screen (react-navigation/stack), but does work on the bottom tab (react-navigation/bottom-tabs). This case takes place on Android versions 10 and 11 in the release apk. Any updates on this?

ying8599 commented 2 years ago

Any update on this? Facing the same issue when drag to the end of the list.