Skip to content

Releases: JakeSidSmith/react-reorder

Updated export

22 Aug 11:17
Compare
Choose a tag to compare

Changed how react-reorder is exported so that it works with more build tools

React 0.14 Support

18 Mar 11:10
Compare
Choose a tag to compare
  • Update react-reorder to use ReactDOM
  • Move React (and ReactDOM) to dev dependencies

Shared props

30 Jan 10:46
Compare
Choose a tag to compare

Allows devs to pass additional sharedProps accessible inside all of the items in the list at this.props.sharedProps.

This allows devs to add more advanced functionality / customisation.

Highlight dragged item

27 Jan 14:37
Compare
Choose a tag to compare

Apply the same selected class to the dragged item

Highlight selected item

27 Jan 14:19
Compare
Choose a tag to compare
  • If item === selected then it's wrapper element gets the class selected
  • If selectedKey is set then it will instead compare that key from both objects

Disable reordering

27 Jan 14:17
Compare
Choose a tag to compare

Disable reordering if disableReorder is not falsey

Improve touch scrolling

27 Jan 14:14
Compare
Choose a tag to compare
  • Ensure that after-scroll only happens if nothing is being dragged
  • Lock scrolling directions if a lock (vertical / horizontal) is set

Fix root being undefined

27 Jan 14:11
Compare
Choose a tag to compare

If this is undefined then root is window

Props update fix

26 Jan 15:31
Compare
Choose a tag to compare
  • Set state when new props recieved

Initial release

26 Jan 14:37
Compare
Choose a tag to compare
  • Reorderable list
  • List class
  • List item class
  • Touch events
  • Synthetic clientX & clientY for touch events
  • Callback / click functions
  • Auto-scroll while dragging
  • Smooth scroll on touch devices