GitHub

  • Specify your style for Sortable and Sortable Items , check sortable.css , it is NOT optional!
  • If using the option, make sure to use the onSort callback to update the order of the children passed to the Sortable component when the user sorts!
  • A className to allow only matching element of sortable item to trigger sort operation.
  • Make sure to add draggable={false} to images within sortable components to prevent glitching.
  • sortedArray ( Array ) Sorted array consists of sortData plucked from each sortable item

Read the full article, click here.


@Mybridge: “Open source #ReactJS component that can sort any children (w/ touch support). #JavaScript”


react-anything-sortable – A ReactJS component that can sort any children with touch support and IE8 compatibility


GitHub