Skip to content

chore(deps): bump @vue-dnd-kit/core from 1.7.0 to 2.4.6 in /console#59

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/console/vue-dnd-kit/core-2.4.6
Closed

chore(deps): bump @vue-dnd-kit/core from 1.7.0 to 2.4.6 in /console#59
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/console/vue-dnd-kit/core-2.4.6

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 28, 2026

Bumps @vue-dnd-kit/core from 1.7.0 to 2.4.6.

Release notes

Sourced from @​vue-dnd-kit/core's releases.

@​vue-dnd-kit/core-2.4.6

What's Changed

New Contributors

Full Changelog: https://github.com/ZiZIGY/vue-dnd-kit/compare/@​vue-dnd-kit/core-2.4.0...@​vue-dnd-kit/core-2.4.6

🚀 Vue DnD Kit v2.4.0 – new feature for SelectionArea - SelectionStrategy

What's Changed

makeSelectionArea now accepts a strategy option that controls how elements are added to the selection as the user drags the box:

makeSelectionArea(el, { strategy: 'toggle' }); // default
makeSelectionArea(el, { strategy: 'select' });
Value Behaviour
'toggle' XOR against the selection at drag start. Dragging back over an already-selected element deselects it — additive/subtractive multi-select.
'select' Only elements currently inside the box are selected. Moving the box away immediately deselects them.

Default is 'toggle' — same behaviour as before, so existing code is unaffected.

New Contributors

🚀 Vue DnD Kit v2.3.0 – ID feature for VirtualizationLists

New feature — stable id for virtual lists

makeDraggable now accepts an optional id option:

makeDraggable(el, { id: item.id }, () => [index, items]);

Why it exists. In a virtualized list (e.g. @vueuse/core useVirtualList) items are unmounted when they scroll out of view and remounted when they scroll back. Without a stable id, the library had no way to know that the freshly mounted <div> is the same item that is currently being dragged — so it appeared as a second, ghost-like hover target. Drop also failed after a scroll-away/scroll-back cycle because the internal reference to the initiating element went stale.

How it works. The id is written to a data-dnd-kit-draggable attribute on the element. Even after an unmount/remount cycle, the library reads this attribute, scans draggingMap for a matching id, and seamlessly remaps the entry to the new DOM node. No user action required — just pass id.

// Survives unmount → remount while dragging
const { isDragging } = makeDraggable(el, { id: props.item.id }, () => [
  props.index,
  props.items,
</tr></table> 

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@vue-dnd-kit/core](https://github.com/zizigy/vue-dnd-kit/tree/HEAD/packages/core) from 1.7.0 to 2.4.6.
- [Release notes](https://github.com/zizigy/vue-dnd-kit/releases)
- [Commits](https://github.com/zizigy/vue-dnd-kit/commits/@vue-dnd-kit/core-2.4.6/packages/core)

---
updated-dependencies:
- dependency-name: "@vue-dnd-kit/core"
  dependency-version: 2.4.6
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 28, 2026

Labels

The following labels could not be found: automated, dependencies. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@DavidHLP DavidHLP closed this Jun 2, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Jun 2, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/console/vue-dnd-kit/core-2.4.6 branch June 2, 2026 08:46
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.

1 participant