Skip to content

Commit cb7d899

Browse files
committed
release v2.0.0-beta2
1 parent af59543 commit cb7d899

File tree

7 files changed

+46
-13
lines changed

7 files changed

+46
-13
lines changed

CHANGELOG.md

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

3+
### 2.0.0-beta2 (Apr 14, 2016)
4+
5+
- We're making a small deviation from React Core's controlled vs. uncontrolled scheme; for convenience,
6+
`<Draggable>`s with a `position` property will still be draggable, but will revert to their old position
7+
on drag stop. Attach an `onStop` or `onDrag` handler to synchronize state.
8+
- A warning has been added informing users of this. If you make `<Draggable>` controlled but no callback
9+
handlers, a warning will be printed.
10+
311
### 2.0.0-beta1 (Apr 14, 2016)
412

513
- Due to API changes, this is a major release.

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": "2.0.0-beta1",
3+
"version": "2.0.0-beta2",
44
"homepage": "https://github.com/mzabriskie/react-draggable",
55
"authors": [
66
"Matt Zabriskie",

dist/react-draggable.js

Lines changed: 33 additions & 8 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": "2.0.0-beta1",
3+
"version": "2.0.0-beta2",
44
"description": "React draggable component",
55
"main": "dist/react-draggable.js",
66
"browser": "dist/react-draggable.js",

0 commit comments

Comments
 (0)