Fixes issues caused by a disabled SortableElement being moved when distance
is set to a value other than 0
Use prop-types
package for PropType validation for compatibility with React ^15.5
Tweak: default to pointerEvents: none
on sortable helper, this way the underlying view can still be scrolled using the trackpad/mousewheel while sorting #160
Feature: added pressThreshold
prop to make pressDelay
fault tolerant #159
Tweak: button
elements are now included in the default shouldCancelStart
implementation #142.
Fix: Omit getHelperDimensions
before passing down props in SortableContainer
Fix: This release fixes some issues caused by the onSortEnd
callback being invoked before setState
#82.
Fix: This version fixes issues with nested SortableContainer
elements using drag handles from also dragging their parent #112, #127(clauderic/react-sortable-hoc#127). Thanks []@DeadHeadRussell](https://github.com/DeadHeadRussell)!
Fix: This release fixes a bug introduced in 0.4.8
caused by calling the forEach
method directly on a NodeList, which is undefined in a number of browsers #125
Fix: Added logic to ensure that select
, input
and textarea
fields in SortableElement
always retain their value
when the element is cloned (this happens when sorting begins) #122 #123. Thanks @tomasztomys!
Fix: This release fixes a bug in Firefox caused by active anchor tags preventing mousemove events from being fired #118
Fix: getHelperDimensions height was not being used (Thanks @SMenigat!)
Tweak: cherry-picking lodash methods instead of importing the entire bundle (slipped by in a PR, thanks for pointing this out @arackaf!)
Fixes an edge-case bug in Firefox where window.getComputedStyle() returns null inside an iframe with display: none
#106. Thanks @funnel-mark!
Fixes an issue when attempting to sort items while rapidly moving the mouse. By setting an immediate timer, we move the cancel event to the tail of the timer queue, and ensure that it is fired after the pressTimer #80. Thanks @v0lkan!
– Fix a timing issue in Chrome caused by setTimeout #71 – Private props are no longer passed down to the wrapped component #98
Added grid support for elements of equal widths / heights #4 #86. Huge shout-out to @richmeij for making this happen!
Add a getHelperDimensions
prop to control SortableHelper size #83. Thanks @nervetattoo!
Added touchCancel
listener to properly handle canceled touches #73
- Force
box-sizing: border-box
on sortable helper #67 - Support changing an item's collection prop on the fly #66
Utilize babel-plugin-transform-runtime to utilize babelHelpers
without them being required in application code #45
The arrayMove
helper no longer mutates the array, it now returns a new array #61
Server-side rendering bugfix: safeguard against document
being undefined #59
- Added
distance
prop (#35) - Added a
shouldCancelStart
(#47, #36, #41) prop to programatically cancel sorting before it begins. - Prevent right click from causing sort start (#46)
Fixes server-side rendering (window undefined) (#39)