Releases: formkit/drag-and-drop
v0.2.1
🐞 Bug Fixes
View changes on GitHub
v0.2.0
🚨 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
-
Adds new insertion plugin https://drag-and-drop.formkit.com/#insert
-
Adds new
dropOrSwap
plugin https://drag-and-drop.formkit.com/#drop-or-swap -
Adds new event listeners https://drag-and-drop.formkit.com/#events
🐞 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
v0.1.5
🐞 Bug Fixes
- Exports multidrag dragstart function, fixes types definitions in docs and config - by @sashamilenkovic (b597d)
View changes on GitHub
v0.1.4
v0.1.3
🚀 Features
- Adds config option for animations plugin to adjust transform scale - by @sashamilenkovic (95ef0)
View changes on GitHub
v0.1.2
🐞 Bug Fixes
- Fixes issue related to animations. removes concept of preventEnter except in animations plugin usage - by @sashamilenkovic (25e17)
View changes on GitHub
v0.1.1
🐞 Bug Fixes
- Fixes issue #71 where local drag and drop .gif was included in build process - by @sashamilenkovic in #71 (48efc)
View changes on GitHub
v0.1.0
🚀 Features
- Adds swap functionality for single-select - by @sashamilenkovic (8e230)
🐞 Bug Fixes
- Fixes issue where dragging quickly with animations plugin over two elements would not trigger sort on the last - by @sashamilenkovic (2b010)
- Fixes typing error in swap plugin - by @sashamilenkovic (b3022)
- Fixes issue where scroll would occur if on desktop and scrollParent was document itself - by @sashamilenkovic (1c47e)
View changes on GitHub
v0.0.38
🐞 Bug Fixes
- Fixes sort issue with animations plugin - by @sashamilenkovic (5d5c2)
View changes on GitHub
v0.0.37
🚀 Features
- Adds same touch scroll behavior to drag events as well - by @sashamilenkovic (51f15)
- Adds optional property to prevent scroll when dragging outside of scrollable parent - by @sashamilenkovic (9564f)
🐞 Bug Fixes
- Fixes issue where with wrong scroll parent, now considers offet for scroll - by @sashamilenkovic (7d9c8)
- Restores longtouch scroll functionality - by @sashamilenkovic (0ca64)
- Fixes assortment of scroll issues - by @sashamilenkovic (b85e5)
- Addresses issue #51 by not preventing default on touchstart when not drag handle - by @sashamilenkovic in #51 (50cae)