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 having touch-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.