Skip to content

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

Merged
DavidHLP merged 1 commit into
mainfrom
dependabot/npm_and_yarn/console/vue-dnd-kit/core-2.4.6
May 24, 2026
Merged

chore(deps): bump @vue-dnd-kit/core from 1.7.0 to 2.4.6 in /console#53
DavidHLP merged 1 commit into
mainfrom
dependabot/npm_and_yarn/console/vue-dnd-kit/core-2.4.6

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

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

dependabot Bot commented on behalf of github May 23, 2026

Copy link
Copy Markdown
Contributor Author

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 merged commit fbb2df0 into main May 24, 2026
8 of 11 checks passed
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/console/vue-dnd-kit/core-2.4.6 branch May 24, 2026 13:23
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