react-draggable
Advanced tools
Changelog
4.1.0 (Oct 25, 2019)
Add "module"
to package.json
. There are now three builds:
"main"
: ES5-compatible CJS build, suitable for most use cases with maximum compatibility.
module.exports = Draggable;
module.exports.default = Draggable;
module.exports.DraggableCore = DraggableCore;
"web"
: Minified UMD bundle exporting to window.ReactDraggable
with the same ES compatibility as the "main" build."module"
: ES6-compatible build using import/export.This should fix issues like https://github.com/STRML/react-resizable/issues/113 while allowing modern bundlers to consume esm modules in the future.
No compatibility changes are expected.
Changelog
4.0.3 (Sep 10, 2019)
Changelog
4.0.1 (Sep 7, 2019)
Changelog
3.3.2 (Aug 16, 2019)
all: inherit
instead of background: transparent;
to fix selection styles.
Changelog
3.3.0 (Apr 18, 2019)
positionOffset
prop, which can be Numbers (px) or string percentages (like "10%"
). See the README for more.Changelog
3.1.0 (Dec 21, 2018)
scale
prop (#352)