Skip to main content

Drag Handles

Demonstrates drag handles — only the grip area starts a drag, the rest of the row can scroll or receive taps.

Key Concepts

  • dragHandle prop — tells DraxView not to attach gesture directly
  • DraxHandle component — wraps the touchable grip area
  • Mixed interaction — taps on content work normally

Features Shown

FeatureHow
dragHandle on SortableItemGesture not attached to full item
DraxHandleGrip area that activates drag
Normal tapsContent area remains tappable

Source Code

example/app/(tabs)/drag-handles.tsx
// Full source available at:
// https://github.com/nuclearpasta/react-native-drax/blob/main/example/app/(tabs)/drag-handles.tsx