Skip to content
R

react-native-drag-sort

Drag and drop sort control for react-native

by mochixuanFree

#1057in UI Libraries
0In stores

Description

react-native-drag-sort is a React Native component for drag-and-drop sorting of items in a grid or list. You give it a data source and rende…

Highlights

  • Drag-and-drop sorting for React Native lists and grids
  • Three components chosen by item size and scrolling
  • Drag callbacks for start, end and data change
  • Long-press delay and scale and opacity while dragging
  • Example pages in a demo GIF

Ratings & Reviews

No ratings yet

Be the first to rate react-native-drag-sort.

People also visit

R

react-drag-listview

drag list view and table view component for react

UI Libraries
Launch
S

sortablejs

Lists reorderable by drag-and-drop, within and among lists

UI Libraries
Launch
R

react-sortable-hoc

Set of higher-order components to turn any list into a sortable, touch-friendly

UI Libraries
Launch
R

react-native-tree-multi-select

Super-fast, customizable tree view component for React Native

UI Libraries
Launch
R

react-sortable-tree

Drag-and-drop sortable component for nested data and hierarchies

UI Libraries
Launch
R

react-draggable-list

Make a list of draggable collapsible items

UI Libraries
Launch

react-native-drag-sort FAQ

What is react-native-drag-sort?

A React Native component that lets users drag items to reorder them in a grid or list.

Which component should I use?

Use DragSortableView for fixed-size items that do not scroll, AutoDragSortableView for fixed-size items that scroll, and AnySizeDragSortableView for items of any size that scroll.

Can I turn dragging off?

Yes. The sortable prop lets you disallow dragging, and the isDragFreely prop controls whether the drag is limited to a space.

Can I react when the order changes?

Yes. onDataChange is called every time the data changes, and onDragStart and onDragEnd fire at the start and end of a drag.

Does the README show what it looks like?

Yes. It has a GIF of several example pages, including sorting, a fixed-item page and a drag-to-delete page.

What are the best react-native-drag-sort alternatives?

Popular alternatives to react-native-drag-sort include react-drag-listview, sortablejs and react-sortable-hoc. See all react-native-drag-sort alternatives

Developer Stuff

Badges