NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #3498 most downloaded on npm
Translate modifier presets for use with `@dnd-kit` packages.
Last release 2 years ago
no release in 18 months
Ships unpredictably
gaps range from 8 days to 13 months
Nearly every release is documented
notes for 17 of 17 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
102 releases · first in 2021
One column per quarter.
Updated dependencies \[`0c6a28d`]:
0c6a28d]:
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Updated dependencies [`bc588c7`, `b417f0f`, `f342d5e`]:
Nothing published for this version
Nothing published for this version
Nothing published for this version
Updated dependencies [`da7c60d`]:
#823 b065c37 Thanks @DaniGuardiola! - Add missing peer dependency to @dnd-kit/modifiers
Updated dependencies [da7c60d]:
Nothing published for this version
Nothing published for this version
Updated dependencies [`4173087`, `59ca82b`, `7161f70`, `a52fba1`, `40707ce`, `a41e5b8`, `bf30718`, `a41e5b8`, `a41e5b8`, `035021a`, `77e3d44`, `581198
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
This new approach changes the frame of comparison to be relative to the viewport. This is a major breaking change, and will need to be released under…
#567 cd3adf3 Thanks @clauderic! - Update modifiers to use draggingNodeRect instead of activeNodeRect. Modifiers should be based on the rect of the node being dragged, whether it is the draggable node or drag overlay node.
#518 6310227 Thanks @clauderic! - Major internal refactor of measuring and collision detection.
Previously, all collision detection algorithms were relative to the top and left points of the document. While this approach worked in most situations, it broke down in a number of different use-cases, such as fixed position droppable containers and trying to drag between containers that had different scroll positions.
This new approach changes the frame of comparison to be relative to the viewport. This is a major breaking change, and will need to be released under a new major version bump.
@dnd-kit now ignores only the transforms applied to the draggable / droppable node itself, but considers all the transforms applied to its ancestors. This should provide the right balance of flexibility for most consumers.
ViewRect, LayoutRect to just a single concept of ClientRect.
ClientRect interface no longer holds the offsetTop and offsetLeft properties. For most use-cases, you can replace offsetTop with top and offsetLeft with left.@dnd-kit/core package with getClientRect:
getBoundingClientRectgetViewRectgetLayoutRectgetViewportLayoutRecttranslatedRect from the SensorContext interface. Replace usage with collisionRect.activeNodeClientRect on the DndContext interface. Replace with activeNodeRect.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Updated dependencies [`13be602`, `aede2cc`, `05d6a78`, `a32a4c5`, `f96cb5d`, `dea715c`, `dbc9601`, `46ec5e4`, `7006464`, `0e628bc`, `c447880`, `2ba6df
13be602 Thanks @trentmwillis! - Add snapCenterToCursor modifier#437 0e628bc Thanks @chestozo! - Added PointerEvent support to the getEventCoordinates method. This fixes testing the PointerSensor with Cypress (#436)
Updated dependencies [13be602, aede2cc, 05d6a78, a32a4c5, f96cb5d, dea715c, dbc9601, 46ec5e4, 7006464, 0e628bc, c447880, 2ba6dfe, 8d70540, 13be602, 422d083, c4b21b4, 5a41340, a13dbb6, e2ee0dc, 1fe9b5c, 1fe9b5c, 1f5ca27]:
Your coding agent can read these notes before it upgrades. Set up the MCP server →