react-draggable v4.3.0 Release Notes
Release Date: 2020-04-10 // about 4 years ago-
- ๐ Fix setState warning after dismount if drag still active. Harmless, but prints a warning. #424
- ๐ Fix a long-standing issue where text inputs would unfocus upon dismounting a
<Draggable>
.- Thanks @schnerd, #450
- ๐ Fix an issue where the insides of a
<Draggable>
were not scrollable on touch devices due to the outer container havingtouch-action: none
.- This was a long-standing hack for mobile devices. Without it, the page will scroll while you drag the element.
- The new solution will simply cancel the touch event
e.preventDefault()
. However, due to changes in Chrome >= 56, this is only possible on non-passive event handlers. To fix this, we now add/remove the touchEvent on lifecycle events rather than using React's event system. - #465
- ๐ Upgrade devDeps and fix security warnings. None of them actually applied to this module.