Skip to content

Fix issue where constraints broke when resizing the child element#2081

Open
GNUGradyn wants to merge 2 commits into
clauderic:mainfrom
GNUGradyn:main
Open

Fix issue where constraints broke when resizing the child element#2081
GNUGradyn wants to merge 2 commits into
clauderic:mainfrom
GNUGradyn:main

Conversation

@GNUGradyn

Copy link
Copy Markdown

Hello, this fixes #2056. It uses information from the existing mutation/resize observers to properly handle constrained nodes resizing during a drag operation. Since those observers already exist it is cheap in terms of performance

Thanks

@changeset-bot

changeset-bot Bot commented Jun 10, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 1fe9a28

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 10 packages
Name Type
@dnd-kit/dom Patch
@dnd-kit/abstract Patch
@dnd-kit/collision Patch
@dnd-kit/geometry Patch
@dnd-kit/helpers Patch
@dnd-kit/react Patch
@dnd-kit/state Patch
@dnd-kit/vue Patch
@dnd-kit/solid Patch
@dnd-kit/svelte Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Resizing node while it is being dragged breaks RestrictToElement modifier

1 participant