react-native-draggable-flatlist icon indicating copy to clipboard operation
react-native-draggable-flatlist copied to clipboard

onPlaceholderIndexChange not triggered

Open marcoizzo opened this issue 2 years ago • 5 comments

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).

  • react-native-draggable-flatlist version: 3.1.2
  • Platform: both
  • React Native or Expo version: N/A
  • Reanimated version: 2.8.0
  • React Native Gesture Handler version: 2.5.0

Additional context N/A

marcoizzo avatar Jul 29 '22 15:07 marcoizzo

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

zachgibson avatar Dec 12 '22 17:12 zachgibson

@computerjazz any workaround?

dchhetri avatar Dec 27 '22 06:12 dchhetri

sadly, it stopped working in the latest version 😢

outaTiME avatar Dec 29 '22 05:12 outaTiME

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

ericdolson avatar Jan 10 '23 19:01 ericdolson

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

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

ericdolson avatar Jan 11 '23 21:01 ericdolson