Skip to content

Latest commit

 

History

History
97 lines (68 loc) · 6.34 KB

CHANGELOG.md

File metadata and controls

97 lines (68 loc) · 6.34 KB

Changelog

0.6.8

Update react and react-dom peerdependency requirements for React 16+ #283. Thanks @jnsdls!

0.6.7

Fixes issues with Jest Snapshot testing trying to serialize the window object and running out of memory #249. Thanks @cameronmcefee!

0.6.6

Fixes an issue with Internet Explorer 11 introduced in 0.6.5 #248. Thanks @humiston!

0.6.5

Fixes the position of the sortable helper when the page is scrolled #213

0.6.4

Fix: when cloning the element that is being sorted, we no longer update the value of cloned file inputs #232

0.6.3

Fixes issues caused by a disabled SortableElement being moved when distance is set to a value other than 0

0.6.2

Use prop-types package for PropType validation for compatibility with React ^15.5

0.6.1

Tweak: default to pointerEvents: none on sortable helper, this way the underlying view can still be scrolled using the trackpad/mousewheel while sorting #160

0.6.0

Feature: added pressThreshold prop to make pressDelay fault tolerant #159

0.5.0

Tweak: button elements are now included in the default shouldCancelStart implementation #142. Fix: Omit getHelperDimensions before passing down props in SortableContainer

0.4.12

Fix: This release fixes some issues caused by the onSortEnd callback being invoked before setState #82.

0.4.10

Fix: This version fixes issues with nested SortableContainer elements using drag handles from also dragging their parent #112, #127(clauderic#127). Thanks []@DeadHeadRussell](https://github.com/DeadHeadRussell)!

0.4.9

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

0.4.8

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!

0.4.7

Fix: This release fixes a bug in Firefox caused by active anchor tags preventing mousemove events from being fired #118

0.4.5

Fix: getHelperDimensions height was not being used (Thanks @SMenigat!)

0.4.4

Tweak: cherry-picking lodash methods instead of importing the entire bundle (slipped by in a PR, thanks for pointing this out @arackaf!)

0.4.3

Fixes an edge-case bug in Firefox where window.getComputedStyle() returns null inside an iframe with display: none #106. Thanks @funnel-mark!

0.4.2

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!

0.4.0

– Fix a timing issue in Chrome caused by setTimeout #71 – Private props are no longer passed down to the wrapped component #98

0.3.0

Added grid support for elements of equal widths / heights #4 #86. Huge shout-out to @richmeij for making this happen!

0.2.0

Add a getHelperDimensions prop to control SortableHelper size #83. Thanks @nervetattoo!

0.1.1

Added touchCancel listener to properly handle canceled touches #73

0.1.0

  • Force box-sizing: border-box on sortable helper #67
  • Support changing an item's collection prop on the fly #66

0.0.11

Utilize babel-plugin-transform-runtime to utilize babelHelpers without them being required in application code #45

0.0.10

The arrayMove helper no longer mutates the array, it now returns a new array #61

0.0.9

Server-side rendering bugfix: safeguard against document being undefined #59

0.0.8

  • 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)

0.0.7

Fixes server-side rendering (window undefined) (#39)

0.0.6

  • Added support for a custom container (#37)
  • Fix changing disable property while receiving props (#34)