Skip to content

Commit 0c2e0c8

Browse files
committed
release v1.2.0
1 parent e7d9709 commit 0c2e0c8

File tree

7 files changed

+55
-14
lines changed

7 files changed

+55
-14
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
### 1.2.0 (Feb 5, 2015)
4+
5+
- Added arbitrary boundary selector. Now you don't have to just use `'parent'`, you can select any element
6+
on the page, including `'body'`.
7+
- Bugfix: Prevent invariant if a `<Draggable>` is unmounted while dragging.
8+
- Bugfix: Fix #133, where items would eagerly start dragging off the mouse cursor if you hit boundaries and
9+
came back. This is due to how `<DraggableCore>` handles deltas only and does not keep state. Added new state
10+
properties `slackX` and `slackY` to `<Draggable>` to handle this and restore pre-v1 behavior.
11+
312
### 1.1.3 (Nov 25, 2015)
413

514
- Bugfix: Server-side rendering with react-rails, which does bad things like mock `window`

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-draggable",
3-
"version": "1.1.3",
3+
"version": "1.2.0",
44
"homepage": "https://github.com/mzabriskie/react-draggable",
55
"authors": [
66
"Matt Zabriskie"

dist/react-draggable.js

Lines changed: 41 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/react-draggable.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/react-draggable.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/react-draggable.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-draggable",
3-
"version": "1.1.3",
3+
"version": "1.2.0",
44
"description": "React draggable component",
55
"main": "dist/react-draggable.js",
66
"browser": "dist/react-draggable.js",

0 commit comments

Comments
 (0)