@dnd-kit/core breaking changes
@dnd-kit/core 6.0.0 (May 21, 2022) is its newest release with breaking changes, 34 of them. The first: Removed DndContextProps.announcements. Every breaking API change we have recorded in @dnd-kit/core on npm: 93 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 6.3.1, released December 5, 2024.
Packages on npm run on Node.js. Node.js end of life dates.
- From 5.0.0 to 6.0.0: 34 breaking changes in 1 version.
- From 4.0.0 to 6.0.0: 74 breaking changes in 2 versions.
@dnd-kit/core 6.0.0 breaking changes
- Removed
DndContextProps.announcements
Announcement callbacks receive an object with active and over properties instead of positional id arguments; update custom announcements to read active.id and over.id. npmjs.com - Removed
DndContextProps.screenReaderInstructions
DndContextProps.screenReaderInstructions was removed in @dnd-kit/core 6.0.0 npmjs.com - Removed
DropAnimation.dragSourceOpacity
The dragSourceOpacity option of the dropAnimation configuration is deprecated; use sideEffects built with defaultDropAnimationSideEffects instead. npmjs.com - Removed
DropAnimation.duration
DropAnimation.duration was removed in @dnd-kit/core 6.0.0 npmjs.com - Removed
DropAnimation.easing
DropAnimation.easing was removed in @dnd-kit/core 6.0.0 npmjs.com - Behavior changed
accessibility.container
Accessibility DOM nodes are no longer portaled into document.body by default; set accessibility.container to keep the old placement. github.com - Behavior changed
autoScroll
By default auto-scrolling is now disabled for a direction until the drag has moved in that direction. github.com - Behavior changed
draggableNodes
draggableNodes is now a map; read entries with get(id) instead of bracket indexing. github.com - Behavior changed
measureDroppableContainers
measureDroppableContainers no longer measures containers while measuring is disabled. github.com - Behavior changed
onDragMove
The delta passed to drag event handlers now contains the scroll delta rather than the current scroll offsets; code relying on the old values will see different numbers. github.com - Behavior changed
useDndMonitor
useDndMonitor callbacks are invoked synchronously with DndContext events rather than through re-rendering consumers. github.com - Configuration changed
DndContext.accessibility
The announcements and screenReaderInstructions props moved under the accessibility prop of DndContext; pass them there instead. github.com - Signature changed
Activator
Was type Activator<T> = {eventName: SyntheticEventName; handler(event: React.SyntheticEvent, options: T): boolean | undefined;}; now type Activator<T> = {eventName: SyntheticEventName; handler: SensorActivatorFunction<T>;}. npmjs.com - Signature changed
Activator.handler
Was handler(event: React.SyntheticEvent, options: T): boolean | undefined; now handler: SensorActivatorFunction<T>. npmjs.com - Signature changed
Announcements.onDragCancel
Was onDragCancel(id: UniqueIdentifier): string | undefined; now onDragCancel({active, over}: Arguments): string | undefined. npmjs.com - Signature changed
Announcements.onDragEnd
Was onDragEnd(id: UniqueIdentifier, overId: UniqueIdentifier | undefined): string | undefined; now onDragEnd({active, over}: Arguments): string | undefined. npmjs.com - Signature changed
Announcements.onDragMove
Was onDragMove?(id: UniqueIdentifier, overId: UniqueIdentifier | undefined): string | undefined; now onDragMove?({active, over}: Arguments): string | undefined. npmjs.com - Signature changed
Announcements.onDragOver
Was onDragOver(id: UniqueIdentifier, overId: UniqueIdentifier | undefined): string | undefined; now onDragOver({active, over}: Arguments): string | undefined. npmjs.com - Signature changed
Announcements.onDragStart
Was onDragStart(id: UniqueIdentifier): string | undefined; now onDragStart({active}: Pick<Arguments, 'active'>): string | undefined. npmjs.com - Signature changed
CollisionDetection
Was type CollisionDetection = (args: {active: Active; collisionRect: ClientRect; droppableContainers: DroppableContainer[]; pointerCoordinates: Coordinates | null;}) => Collision[]; now type CollisionDetection = (args: {active: Active... npmjs.com - Signature changed
defaultDropAnimation
Was const defaultDropAnimation: DropAnimation; now const defaultDropAnimationConfiguration: Required<DropAnimationOptions>. npmjs.com - Signature changed
DndMonitorArguments
Was interface Arguments; now interface DndMonitorListener. npmjs.com - Signature changed
DraggableMeasuring.measure
Was measure(node: HTMLElement): ClientRect; now measure: MeasuringFunction. npmjs.com - Signature changed
DraggableNode
Was type DraggableNode = {id: UniqueIdentifier; key: UniqueIdentifier; node: MutableRefObject<HTMLElement | null>; data: DataRef;}; now type DraggableNode = {id: UniqueIdentifier; key: UniqueIdentifier; node: MutableRefObject<HTMLElement |... npmjs.com - Signature changed
DragOverlay
Was const DragOverlay: React.MemoExoticComponent<({adjustScale, children, dropAnimation, style: styleProp, transition, modifiers, wrapperElement, className, zIndex}: Props) => JSX.Element | null>; now const DragOverlay... npmjs.com - Signature changed
DropAnimation
Was interface DropAnimation; now type DropAnimation = DropAnimationFunction | DropAnimationOptions. npmjs.com - Signature changed
getClientRect
Was function getClientRect(element: HTMLElement, options?: Options): {top: number; left: number; width: number; height: number; bottom: number; right: number;}; now function getClientRect(element: Element, options?: Options): {top: number... npmjs.com - Signature changed
getScrollableAncestors
Was function getScrollableAncestors(element: Node | null): Element[]; now function getScrollableAncestors(element: Node | null, limit?: number): Element[]. npmjs.com - Signature changed
KeyboardSensor.activators
Was static activators: {eventName: "onKeyDown"; handler: (event: React.KeyboardEvent, {keyboardCodes, onActivation}: KeyboardSensorOptions) => boolean;}[]; now static activators: Activators<KeyboardSensorOptions>. npmjs.com - Signature changed
SensorContext
Was type SensorContext = {active: Active | null; activeNode: HTMLElement | null; collisionRect: ClientRect | null; collisions: Collision[] | null; draggableNodes: DraggableNodes; draggingNode: HTMLElement | null; draggingNodeRect... npmjs.com - Signature changed
UniqueIdentifier
Ids are now typed as string or number, so typed local state may need the UniqueIdentifier type; code reading id values as strings needs casting or conversion. npmjs.com - Signature changed
useDndMonitor
Was function useDndMonitor({onDragStart, onDragMove, onDragOver, onDragEnd, onDragCancel}: Arguments): void; now function useDndMonitor(listener: DndMonitorListener): void. npmjs.com - Signature changed
useDraggable
Was function useDraggable({id, data, disabled, attributes}: UseDraggableArguments): {active: import("../store").Active | null; activatorEvent: Event | null; activeNodeRect: import("..").ClientRect | null; attributes: DraggableAttributes... npmjs.com - Signature changed
UseDraggableArguments.id
Was id: string; now id: UniqueIdentifier. npmjs.com
@dnd-kit/core 5.0.0 breaking changes
- Removed
DndContextDescriptor.activators
activators is no longer exposed on the public context descriptor. npmjs.com - Removed
DndContextDescriptor.activeNodeClientRect
Replace activeNodeClientRect with activeNodeRect. npmjs.com - Removed
DndContextDescriptor.ariaDescribedById
ariaDescribedById is no longer exposed on the public context descriptor. npmjs.com - Removed
DndContextDescriptor.dispatch
dispatch is no longer exposed on the public context descriptor. npmjs.com - Removed
DndContextDescriptor.recomputeLayouts
The recomputeLayouts method was renamed to measureDroppableContainers. npmjs.com - Removed
DndContextDescriptor.willRecomputeLayouts
The willRecomputeLayouts property was renamed to measuringScheduled. npmjs.com - Removed
getBoundingClientRect
getBoundingClientRect was replaced by getClientRect. npmjs.com - Removed
getLayoutRect
getLayoutRect was replaced by getClientRect. npmjs.com - Removed
getViewportLayoutRect
getViewportLayoutRect was replaced by getClientRect. npmjs.com - Removed
getViewRect
getViewRect was replaced by getClientRect. npmjs.com
And 30 more in this version. Sign up to see every change
@dnd-kit/core 4.0.0 breaking changes
- Removed
DndContextDescriptor.overlayNode
Rename the overlayNode property to dragOverlay on the DndContextDescriptor interface. npmjs.com - Removed
LayoutMeasuring
Rename the LayoutMeasuring type to MeasuringConfiguration. npmjs.com - Removed
LayoutMeasuringFrequency
Rename the LayoutMeasuringFrequency enum to MeasuringFrequency. npmjs.com - Removed
LayoutMeasuringStrategy
Rename the LayoutMeasuringStrategy enum to MeasuringStrategy. npmjs.com - Removed
RectEntry
RectEntry was removed in @dnd-kit/core 4.0.0 npmjs.com - Removed
Translate.x
Translate.x was removed in @dnd-kit/core 4.0.0 npmjs.com - Removed
Translate.y
Translate.y was removed in @dnd-kit/core 4.0.0 npmjs.com - Renamed
layoutMeasuring
Pass the options as measuring={{ droppable: options }} instead of layoutMeasuring; the value shape also changed. github.com - Behavior changed
Once activation constraints are met, click events stop propagating, context menus are suppressed and selection is cleared. github.com - Behavior changed
Dragging is now cancelled when the document visibility changes or the window resizes. github.com
And 9 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.