Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Item snaps back to original position until redux state has been updated #560

Open
mbpictures opened this issue Nov 10, 2024 · 0 comments
Open

Comments

@mbpictures
Copy link

Describe the bug
Moving an item and altering data order using a "kind of complex" redux reducer causes the item to snap back to the original position until the redux state has been propagated to the draggable flat list component.

To Reproduce

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

  • react-native-draggable-flatlist version: 4.0.1
  • Platform: android
  • React Native or Expo version: native
  • Reanimated version: 3.16.1
  • React Native Gesture Handler version: 2.20.2

Additional context
I hacky fixed it using this hacky patch:
react-native-draggable-flatlist+4.0.1.patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant