Skip to content

feat(collision): expose activeId on DndCollisionInput (0.5.0) - #9

Merged
iamv4g merged 1 commit into
website/showcase-pagefrom
feat/collision-active-id-0.5.0
Jul 21, 2026
Merged

feat(collision): expose activeId on DndCollisionInput (0.5.0)#9
iamv4g merged 1 commit into
website/showcase-pagefrom
feat/collision-active-id-0.5.0

Conversation

@iamv4g

@iamv4g iamv4g commented Jul 21, 2026

Copy link
Copy Markdown
Owner

The runtime now passes the active draggable's id to the collision detector. A custom detector can use it to scope candidates to the active item's kind, which lets two nested sortable contexts share one DndController without their droppables colliding — e.g. a section reorder scope nested with an admission cross-list scope, where a section drop must ignore the admission rows nested inside the target section.

Bumps dnd_kit / dnd_kit_flutter / dnd_kit_jaspr to 0.5.0.

The runtime now passes the active draggable's id to the collision detector. A custom detector can use it to scope candidates to the active item's kind, which lets two nested sortable contexts share one DndController without their droppables colliding — e.g. a section reorder scope nested with an admission cross-list scope, where a section drop must ignore the admission rows nested inside the target section.

Bumps dnd_kit / dnd_kit_flutter / dnd_kit_jaspr to 0.5.0.
@iamv4g
iamv4g merged commit 72462fa into website/showcase-page Jul 21, 2026
1 check passed
@iamv4g
iamv4g deleted the feat/collision-active-id-0.5.0 branch July 21, 2026 10:01
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