Skip to content

v0.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 07 Oct 14:22
· 19 commits to main since this release
0a6adc6

    🚨 Breaking Changes

  • Multi-drag and selections plugin now removed and part of core functionality. To enable multi drag, set the multiDrag to true in the parent configuration.

  • Swap plugin has been removed in favor of dropOrSwap plugin.

  • Drag and drop class names for synthetic dragging (non native drag events) have been changed.

   💪 New Features

   🐞 Bug Fixes and improvements

  • Addresses issue #16. makes accessibility improvements to the core of @formkit/drag-and-drop.

  • Addresses issues #62, #54 and #29 by introducing workaround to use non-native implementation by setting nativeDrag to false in parent configuration.

  • Addresses issue #94. When picking up an element synthetically for dragging purposes, we clone the element and append it to the document body. In order to ensure that styles that were applied at its origiinal position within the dom are applied when it is moved up the document, we recurse over the computed styles and apply it to the cloned node. There is now a configuration property to skip the application of these computed styles deepCopyStyles .

  • Addresses issue #77. Now uses pointer events to synthetically moved the dragged element as opposed to touch events.

  • Addresses issue #46. Adds event handlers that can be configured at the global or parent level: https://drag-and-drop.formkit.com/events

  • General improvements to synthetic scrolling