Skip to content

Commit deb5d9c

Browse files
committed
release v4.3.0
1 parent 534983f commit deb5d9c

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

CHANGELOG.md

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

3+
### 4.3.0 (Apr 10, 2020)
4+
5+
- Fix setState warning after dismount if drag still active. Harmless, but prints a warning. [#424](https://github.com/mzabriskie/react-draggable/pull/424)
6+
- Fix a long-standing issue where text inputs would unfocus upon dismounting a `<Draggable>`.
7+
- Thanks @schnerd, [#450](https://github.com/mzabriskie/react-draggable/pull/450)
8+
- Fix an issue where the insides of a `<Draggable>` were not scrollable on touch devices due to the outer container having `touch-action: none`.
9+
- This was a long-standing hack for mobile devices. Without it, the page will scroll while you drag the element.
10+
- The new solution will simply cancel the touch event `e.preventDefault()`. However, due to changes in Chrome >= 56, this is only possible on
11+
non-passive event handlers. To fix this, we now add/remove the touchEvent on lifecycle events rather than using React's event system.
12+
- [#465](https://github.com/mzabriskie/react-draggable/pull/465)
13+
- Upgrade devDeps and fix security warnings. None of them actually applied to this module.
14+
315
### 4.2.0 (Dec 2, 2019)
416

517
- Fix: Apply `scale` parameter also while dragging an element. [#438](https://github.com/mzabriskie/react-draggable/pull/438)

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-draggable",
3-
"version": "4.2.0",
3+
"version": "4.3.0",
44
"description": "React draggable component",
55
"main": "build/cjs/cjs.js",
66
"browser": "build/web/react-draggable.min.js",
@@ -95,4 +95,4 @@
9595
"classnames": "^2.2.5",
9696
"prop-types": "^15.6.0"
9797
}
98-
}
98+
}

0 commit comments

Comments
 (0)