react-draggable
Advanced tools
Changelog
0.8.3 (Oct 12, 2015)
e.changedTouches
check.Changelog
0.8.2 (Sep 21, 2015)
Changelog
0.8.1 (June 3, 2015)
resetState()
instance method for use by parents. See README ("State Problems?").Changelog
0.8.0 (May 19, 2015)
Changelog
0.7.4 (May 18, 2015)
0,0
would cause the element to remain in an inaccurate position,
because the translation was removed from the CSS. See #55.Changelog
0.7.3 (May 13, 2015)
moveOnStartChange
optimization that was causing problems when attempting to move a <Draggable>
back
to its initial position. See https://github.com/STRML/react-grid-layout/issues/56Changelog
0.7.1 (May 7, 2015)
start
param is back. Pass {x: Number, y: Number}
to kickoff the CSS transform. Useful in certain
cases for simpler callback math (so you don't have to know its existing relative position and add it to
the dragged position). Fixes #52.Changelog
0.7.0 (May 7, 2015)
bounds
with coordinates was confusing because it was using the item's width/height,
which was not intuitive. When providing coordinates, bounds
now simply restricts movement in each
direction by that many pixels.Changelog
0.6.0 (May 2, 2015)
false
.grid
option was active.user-select:none
hack to document.body for better highlight prevention.bounds
option to restrict dragging within parent or within coordinates.