computerjazz / react-native-draggable-flatlist

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

onPlaceholderIndexChange not triggered #400

Open marcoizzo opened 2 years ago

marcoizzo commented 2 years ago

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 onPlaceholderIndexChange function is not triggered

To Reproduce Happen also in example snack

Platform & Dependencies Please list any applicable dependencies in addition to those below (react-navigation etc).

Additional context N/A

zachgibson commented 1 year ago

This function doesn't exist in v4 but is still in the README documentation. @computerjazz any reason it was removed?

dchhetri commented 1 year ago

@computerjazz any workaround?

outaTiME commented 1 year ago

sadly, it stopped working in the latest version 😢

ericdolson commented 1 year ago

I need this in order to provide haptic feedback while reordering. High priority for me! Would love this to be available <3

ericdolson commented 1 year ago

I made a PR for this: https://github.com/computerjazz/react-native-draggable-flatlist/pull/446

^^ @marcoizzo @zachgibson @dchhetri @outaTiME @computerjazz