Releases: react-grid-layout/react-draggable
Releases · react-grid-layout/react-draggable
1.3.1
1.3.0
- Possibly breaking change: bounds are calculated before
<Draggable>
firesdrag
events, as they should have been. - Added
'none'
axis type. This allows using<Draggable>
somewhat like<DraggableCore>
- state will be kept
internally (which makes bounds checks etc possible), but updates will not be flushed to the DOM. - Performance tweaks.
1.2.0
- Added arbitrary boundary selector. Now you don't have to just use
'parent'
, you can select any element
on the page, including'body'
. - Bugfix: Prevent invariant if a
<Draggable>
is unmounted while dragging. - Bugfix: Fix #133, where items would eagerly start dragging off the mouse cursor if you hit boundaries and
came back. This is due to how<DraggableCore>
handles deltas only and does not keep state. Added new state
propertiesslackX
andslackY
to<Draggable>
to handle this and restore pre-v1 behavior.
1.1.3
1.1.2
1.1.1
1.1.0
1.0.2
1.0.1
1.0.0
- Breaking: Removed
resetState()
instance method - Breaking: Removed
moveOnStartChange
prop - Breaking: React
0.14
support only. - Refactored project.
- Module now exports a
<DraggableCore>
element upon which<Draggable>
is based.
This module is useful for building libraries and is completely stateless.