Releases: react-grid-layout/react-draggable
Releases · react-grid-layout/react-draggable
0.7.0
- Breaking change:
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.
0.6.0
- Breaking change: Cancel dragging when onDrag or onStart handlers return an explicit
false
.
- Fix sluggish movement when
grid
option was active.
- Example updates.
- Move
user-select:none
hack to document.body for better highlight prevention.
- Add
bounds
option to restrict dragging within parent or within coordinates.
0.5.0
- Remove browserify browser config, reactify, and jsx pragma. Fixes #38
- Use React.cloneElement instead of addons cloneWithProps (requires React 0.13)
- Move to CSS transforms. Simplifies implementation and fixes #48, #34, #31.
- Fixup linting and space/tab errors. Fixes #46.
0.4.3
- Fix React.addons error caused by faulty test.
0.4.2
- Add
"browser"
config to package.json for browserify imports (fix #45).
- Remove unnecessary
emptyFunction
and React.addons.classSet
imports.
0.4.1
- Remove react/addons dependency (now depending on
react
directly).
- Add MIT License file.
- Fix an issue where browser may be detected as touch-enabled but touch event isn't thrown.
0.4.0
- Improving accuracy of snap to grid
- Updating to React 0.12
- Adding dragging className
- Adding reactify support for browserify
- Fixing issue with server side rendering
0.3.0
- Adding support for touch devices
0.2.1
- Exporting as ReactDraggable
0.2.0
- Adding support for snapping to a grid
- Adding support for specifying start position
- Ensure event handlers are destroyed on unmount
- Adding browserify support
- Adding bower support