nuclearpasta / react-native-drax

A drag-and-drop system for React Native
MIT License
554 stars 69 forks source link

Revise underlying gesture handling approach? #109

Open lafiosca opened 3 years ago

lafiosca commented 3 years ago

At some point, we should review the latest version of react-native-gesture-handler and see if it's possible to improve the approach Drax uses, particularly for the simultaneous handling of long-press item drags and short pan scrolls for DraxList. At the time this library was created, the options for accomplishing this were very restricted and unintuitive, and they may have limited some of our functionality.

Reference: https://github.com/software-mansion/react-native-gesture-handler/issues/492#issuecomment-876852562

filippobarcellos commented 2 years ago

Is there a way to handle simultaneous handling of long-press now?

lafiosca commented 2 years ago

That comment was specifically referring to the implementation in Drax of drag detection, but I think RNGH has support for more behaviors like that now than it did when Drax was first developed.