---
title: "@dnd-kit/core 6.0.0 Breaking Changes on npm | Since.dev"
description: "What each @dnd-kit/core release removed, renamed or changed: 93 breaking changes in 3 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@dnd-kit/core
last_updated: 2026-12-04
---

# @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

Latest version `6.3.1`, released December 5, 2024. 

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [5.0.0](#v-5-0-0) to [6.0.0](#v-6-0-0): 34 breaking changes in 1 version.
- From [4.0.0](#v-4-0-0) to [6.0.0](#v-6-0-0): 74 breaking changes in 2 versions.

## @dnd-kit/core 6.0.0 breaking changes

@dnd-kit/core 6.0.0, released May 21, 2022: 34 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](https://www.npmjs.com/package/@dnd-kit/core/v/6.0.0)
- **Removed** `DndContextProps.screenReaderInstructions`  

DndContextProps.screenReaderInstructions was removed in @dnd-kit/core 6.0.0 [npmjs.com](https://www.npmjs.com/package/@dnd-kit/core/v/6.0.0)
- **Removed** `DropAnimation.dragSourceOpacity`  

The dragSourceOpacity option of the dropAnimation configuration is deprecated; use sideEffects built with defaultDropAnimationSideEffects instead. [npmjs.com](https://www.npmjs.com/package/@dnd-kit/core/v/6.0.0)
- **Removed** `DropAnimation.duration`  

DropAnimation.duration was removed in @dnd-kit/core 6.0.0 [npmjs.com](https://www.npmjs.com/package/@dnd-kit/core/v/6.0.0)
- **Removed** `DropAnimation.easing`  

DropAnimation.easing was removed in @dnd-kit/core 6.0.0 [npmjs.com](https://www.npmjs.com/package/@dnd-kit/core/v/6.0.0)
- **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](https://github.com/clauderic/dnd-kit/releases/tag/%40dnd-kit/core%406.0.0)
- **Behavior changed** `autoScroll`  

By default auto-scrolling is now disabled for a direction until the drag has moved in that direction. [github.com](https://github.com/clauderic/dnd-kit/releases/tag/%40dnd-kit/core%406.0.0)
- **Behavior changed** `draggableNodes`  

draggableNodes is now a map; read entries with get(id) instead of bracket indexing. [github.com](https://github.com/clauderic/dnd-kit/releases/tag/%40dnd-kit/core%406.0.0)
- **Behavior changed** `measureDroppableContainers`  

measureDroppableContainers no longer measures containers while measuring is disabled. [github.com](https://github.com/clauderic/dnd-kit/releases/tag/%40dnd-kit/core%406.0.0)
- **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](https://github.com/clauderic/dnd-kit/releases/tag/%40dnd-kit/core%406.0.0)
- **Behavior changed** `useDndMonitor`  

useDndMonitor callbacks are invoked synchronously with DndContext events rather than through re-rendering consumers. [github.com](https://github.com/clauderic/dnd-kit/releases/tag/%40dnd-kit/core%406.0.0)
- **Configuration changed** `DndContext.accessibility`  

The announcements and screenReaderInstructions props moved under the accessibility prop of DndContext; pass them there instead. [github.com](https://github.com/clauderic/dnd-kit/releases/tag/%40dnd-kit/core%406.0.0)
- **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](https://www.npmjs.com/package/@dnd-kit/core/v/6.0.0)
- **Signature changed** `Activator.handler`  

Was handler(event: React.SyntheticEvent, options: T): boolean | undefined; now handler: SensorActivatorFunction\<T>. [npmjs.com](https://www.npmjs.com/package/@dnd-kit/core/v/6.0.0)
- **Signature changed** `Announcements.onDragCancel`  

Was onDragCancel(id: UniqueIdentifier): string | undefined; now onDragCancel({active, over}: Arguments): string | undefined. [npmjs.com](https://www.npmjs.com/package/@dnd-kit/core/v/6.0.0)
- **Signature changed** `Announcements.onDragEnd`  

Was onDragEnd(id: UniqueIdentifier, overId: UniqueIdentifier | undefined): string | undefined; now onDragEnd({active, over}: Arguments): string | undefined. [npmjs.com](https://www.npmjs.com/package/@dnd-kit/core/v/6.0.0)
- **Signature changed** `Announcements.onDragMove`  

Was onDragMove?(id: UniqueIdentifier, overId: UniqueIdentifier | undefined): string | undefined; now onDragMove?({active, over}: Arguments): string | undefined. [npmjs.com](https://www.npmjs.com/package/@dnd-kit/core/v/6.0.0)
- **Signature changed** `Announcements.onDragOver`  

Was onDragOver(id: UniqueIdentifier, overId: UniqueIdentifier | undefined): string | undefined; now onDragOver({active, over}: Arguments): string | undefined. [npmjs.com](https://www.npmjs.com/package/@dnd-kit/core/v/6.0.0)
- **Signature changed** `Announcements.onDragStart`  

Was onDragStart(id: UniqueIdentifier): string | undefined; now onDragStart({active}: Pick\<Arguments, 'active'>): string | undefined. [npmjs.com](https://www.npmjs.com/package/@dnd-kit/core/v/6.0.0)
- **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](https://www.npmjs.com/package/@dnd-kit/core/v/6.0.0)
- **Signature changed** `defaultDropAnimation`  

Was const defaultDropAnimation: DropAnimation; now const defaultDropAnimationConfiguration: Required\<DropAnimationOptions>. [npmjs.com](https://www.npmjs.com/package/@dnd-kit/core/v/6.0.0)
- **Signature changed** `DndMonitorArguments`  

Was interface Arguments; now interface DndMonitorListener. [npmjs.com](https://www.npmjs.com/package/@dnd-kit/core/v/6.0.0)
- **Signature changed** `DraggableMeasuring.measure`  

Was measure(node: HTMLElement): ClientRect; now measure: MeasuringFunction. [npmjs.com](https://www.npmjs.com/package/@dnd-kit/core/v/6.0.0)
- **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](https://www.npmjs.com/package/@dnd-kit/core/v/6.0.0)
- **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](https://www.npmjs.com/package/@dnd-kit/core/v/6.0.0)
- **Signature changed** `DropAnimation`  

Was interface DropAnimation; now type DropAnimation = DropAnimationFunction | DropAnimationOptions. [npmjs.com](https://www.npmjs.com/package/@dnd-kit/core/v/6.0.0)
- **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](https://www.npmjs.com/package/@dnd-kit/core/v/6.0.0)
- **Signature changed** `getScrollableAncestors`  

Was function getScrollableAncestors(element: Node | null): Element\[\]; now function getScrollableAncestors(element: Node | null, limit?: number): Element\[\]. [npmjs.com](https://www.npmjs.com/package/@dnd-kit/core/v/6.0.0)
- **Signature changed** `KeyboardSensor.activators`  

Was static activators: {eventName: "onKeyDown"; handler: (event: React.KeyboardEvent, {keyboardCodes, onActivation}: KeyboardSensorOptions) => boolean;}\[\]; now static activators: Activators\<KeyboardSensorOptions>. [npmjs.com](https://www.npmjs.com/package/@dnd-kit/core/v/6.0.0)
- **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](https://www.npmjs.com/package/@dnd-kit/core/v/6.0.0)
- **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](https://www.npmjs.com/package/@dnd-kit/core/v/6.0.0)
- **Signature changed** `useDndMonitor`  

Was function useDndMonitor({onDragStart, onDragMove, onDragOver, onDragEnd, onDragCancel}: Arguments): void; now function useDndMonitor(listener: DndMonitorListener): void. [npmjs.com](https://www.npmjs.com/package/@dnd-kit/core/v/6.0.0)
- **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](https://www.npmjs.com/package/@dnd-kit/core/v/6.0.0)
- **Signature changed** `UseDraggableArguments.id`  

Was id: string; now id: UniqueIdentifier. [npmjs.com](https://www.npmjs.com/package/@dnd-kit/core/v/6.0.0)

## @dnd-kit/core 5.0.0 breaking changes

@dnd-kit/core 5.0.0, released January 10, 2022: 40 breaking changes.

- **Removed** `DndContextDescriptor.activators`  

activators is no longer exposed on the public context descriptor. [npmjs.com](https://www.npmjs.com/package/@dnd-kit/core/v/5.0.0)
- **Removed** `DndContextDescriptor.activeNodeClientRect`  

Replace activeNodeClientRect with activeNodeRect. [npmjs.com](https://www.npmjs.com/package/@dnd-kit/core/v/5.0.0)
- **Removed** `DndContextDescriptor.ariaDescribedById`  

ariaDescribedById is no longer exposed on the public context descriptor. [npmjs.com](https://www.npmjs.com/package/@dnd-kit/core/v/5.0.0)
- **Removed** `DndContextDescriptor.dispatch`  

dispatch is no longer exposed on the public context descriptor. [npmjs.com](https://www.npmjs.com/package/@dnd-kit/core/v/5.0.0)
- **Removed** `DndContextDescriptor.recomputeLayouts`  

The recomputeLayouts method was renamed to measureDroppableContainers. [npmjs.com](https://www.npmjs.com/package/@dnd-kit/core/v/5.0.0)
- **Removed** `DndContextDescriptor.willRecomputeLayouts`  

The willRecomputeLayouts property was renamed to measuringScheduled. [npmjs.com](https://www.npmjs.com/package/@dnd-kit/core/v/5.0.0)
- **Removed** `getBoundingClientRect`  

getBoundingClientRect was replaced by getClientRect. [npmjs.com](https://www.npmjs.com/package/@dnd-kit/core/v/5.0.0)
- **Removed** `getLayoutRect`  

getLayoutRect was replaced by getClientRect. [npmjs.com](https://www.npmjs.com/package/@dnd-kit/core/v/5.0.0)
- **Removed** `getViewportLayoutRect`  

getViewportLayoutRect was replaced by getClientRect. [npmjs.com](https://www.npmjs.com/package/@dnd-kit/core/v/5.0.0)
- **Removed** `getViewRect`  

getViewRect was replaced by getClientRect. [npmjs.com](https://www.npmjs.com/package/@dnd-kit/core/v/5.0.0)

And 30 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## @dnd-kit/core 4.0.0 breaking changes

@dnd-kit/core 4.0.0, released September 28, 2021: 19 breaking changes.

- **Removed** `DndContextDescriptor.overlayNode`  

Rename the overlayNode property to dragOverlay on the DndContextDescriptor interface. [npmjs.com](https://www.npmjs.com/package/@dnd-kit/core/v/4.0.0)
- **Removed** `LayoutMeasuring`  

Rename the LayoutMeasuring type to MeasuringConfiguration. [npmjs.com](https://www.npmjs.com/package/@dnd-kit/core/v/4.0.0)
- **Removed** `LayoutMeasuringFrequency`  

Rename the LayoutMeasuringFrequency enum to MeasuringFrequency. [npmjs.com](https://www.npmjs.com/package/@dnd-kit/core/v/4.0.0)
- **Removed** `LayoutMeasuringStrategy`  

Rename the LayoutMeasuringStrategy enum to MeasuringStrategy. [npmjs.com](https://www.npmjs.com/package/@dnd-kit/core/v/4.0.0)
- **Removed** `RectEntry`  

RectEntry was removed in @dnd-kit/core 4.0.0 [npmjs.com](https://www.npmjs.com/package/@dnd-kit/core/v/4.0.0)
- **Removed** `Translate.x`  

Translate.x was removed in @dnd-kit/core 4.0.0 [npmjs.com](https://www.npmjs.com/package/@dnd-kit/core/v/4.0.0)
- **Removed** `Translate.y`  

Translate.y was removed in @dnd-kit/core 4.0.0 [npmjs.com](https://www.npmjs.com/package/@dnd-kit/core/v/4.0.0)
- **Renamed** `layoutMeasuring`  

Pass the options as measuring={{ droppable: options }} instead of layoutMeasuring; the value shape also changed. [github.com](https://github.com/clauderic/dnd-kit/releases/tag/%40dnd-kit/core%404.0.0)
- **Behavior changed**  

Once activation constraints are met, click events stop propagating, context menus are suppressed and selection is cleared. [github.com](https://github.com/clauderic/dnd-kit/releases/tag/%40dnd-kit/core%404.0.0)
- **Behavior changed**  

Dragging is now cancelled when the document visibility changes or the window resizes. [github.com](https://github.com/clauderic/dnd-kit/releases/tag/%40dnd-kit/core%404.0.0)

And 9 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
