Releases: formkit/drag-and-drop
v0.5.3
v0.5.2
Removed stray console.log in insert plugin. SHAME!
v0.5.1
💥 Breaking Changes
Accessibility overhaul: Previously, a pre-baked solution for accessibility was automatically applied when using drag-and-drop. Due to high variability in DOM structures, this has been removed (thanks to @vBenTec for raising this). Users are now encouraged to handle accessibility themselves. See the Accessibility section of the docs for updated examples and guidance.
🐞 Bug Fixes
Fix: #142 – Resolved conflict between useDragAndDrop hook and input user-select behavior.
Fix: #136 – Improved support for pointer devices in touch-screen contexts. Fixes include sort events not firing on mobile and drag issues when near the top of the viewport.
Fix: #126 – Corrected onTransfer event not firing in the dropOrSwap plugin.
Fix: #129 – Thanks to @hungify for identifying a missing box-sizing: border-box style on drag images, which caused inconsistent sizing.
Fix: #118 – Prevented drag keystroke listeners from interfering with spacebar usage in input fields.
Fix: #18 – Copy-paste now works correctly in documentation. You can use the copy button at the top right of code examples.
Fix: Missing solid.js import path has been added to the build process. Thanks to @Stilwuc for reporting this.
⚡ Performance Improvements
Reduced style recalculation: Moved touch-action style assignment from document.documentElement to the specific drag item, significantly improving synthetic drag responsiveness by avoiding full-document style recalculations.
Improved synthetic scroll behavior: Synthetic scroll events are now smoother and more accurate across devices. These improvements now apply to both synthetic drags (e.g., touch/mouse emulated drag) and native drags, ensuring better performance and responsiveness near scrollable edges.
v0.5.0 (deprecated due to misstep in build process before publishing)
💥 Breaking Changes
Accessibility overhaul: Previously, a pre-baked solution for accessibility was automatically applied when using drag-and-drop. Due to high variability in DOM structures, this has been removed (thanks to @vBenTec for raising this). Users are now encouraged to handle accessibility themselves. See the Accessibility section of the docs for updated examples and guidance.
🐞 Bug Fixes
Fix: #142 – Resolved conflict between useDragAndDrop hook and input user-select behavior.
Fix: #136 – Improved support for pointer devices in touch-screen contexts. Fixes include sort events not firing on mobile and drag issues when near the top of the viewport.
Fix: #126 – Corrected onTransfer event not firing in the dropOrSwap plugin.
Fix: #129 – Thanks to @hungify for identifying a missing box-sizing: border-box style on drag images, which caused inconsistent sizing.
Fix: #118 – Prevented drag keystroke listeners from interfering with spacebar usage in input fields.
Fix: #18 – Copy-paste now works correctly in documentation. You can use the copy button at the top right of code examples.
Fix: Missing solid.js import path has been added to the build process. Thanks to @Stilwuc for reporting this.
⚡ Performance Improvements
Reduced style recalculation: Moved touch-action style assignment from document.documentElement to the specific drag item, significantly improving synthetic drag responsiveness by avoiding full-document style recalculations.
Improved synthetic scroll behavior: Synthetic scroll events are now smoother and more accurate across devices. These improvements now apply to both synthetic drags (e.g., touch/mouse emulated drag) and native drags, ensuring better performance and responsiveness near scrollable edges.
v0.4.2
🐞 Bug Fixes
- Fix: issue #136 , involving specifically issue with mouse input device used on "touch" devices - by @sashamilenkovic in #136
View changes on GitHub
v0.4.1
🐞 Bug Fixes
- Fixes issue #83 - by @sashamilenkovic in #83 (d860c)
View changes on GitHub
Thank you to @psyspeedi for their contribution.
v0.4.0
⚡️ New Feature - SolidJS Support
Huge shoutout to @subframe7536 for their contribution ❤️
v0.3.4
🐞 Bug Fixes
View changes on GitHub
v0.3.3
🐞 Bug Fixes
- Addresses issue #110 where input selection on a draggable item did not work when using drag handles - by @sashamilenkovic in #110 (681ce)
View changes on GitHub
v0.3.2
🐞 Bug Fixes
- Fixes issue #130,
preventDefault
was fired onhandleRootPointermove
when synthetic drag was not enabled - by @sashamilenkovic in #130 (17ad9)