Skip to content

fix(cdk/drag-drop): Support for nested drop containers#32525

Open
aparzi wants to merge 1 commit intoangular:mainfrom
aparzi:fix-issue-16671
Open

fix(cdk/drag-drop): Support for nested drop containers#32525
aparzi wants to merge 1 commit intoangular:mainfrom
aparzi:fix-issue-16671

Conversation

@aparzi
Copy link

@aparzi aparzi commented Dec 11, 2025

Fixes a two issues:

  • The first fixed issue is that the elements of cdkDropListConnectedTo previously had to be ordered correctly to support moving items into an inner drop container. Sepcifically, inner drop containers had to be listed before their outer ancestors.

  • The second fixed issue is that items of an inner container could not be re-ordered without moving the item out of the container and then back in.

Fixes #16671

@aparzi aparzi marked this pull request as ready for review February 25, 2026 13:56
@adolgachev adolgachev added the action: review The PR is still awaiting reviews from at least one requested reviewer label Feb 27, 2026
Fixes a two issues:

- The first fixed issue is that the elements of
cdkDropListConnectedTo previously had to be ordered correctly to support moving items into an
inner drop container. Sepcifically, inner drop containers had to be listed before their outer
ancestors.

- The second fixed issue is that items of an inner container could not be re-ordered
without moving the item out of the container and then back in.

Fixes angular#16671
@aparzi aparzi force-pushed the fix-issue-16671 branch from 3a8fb56 to 659964b Compare March 8, 2026 20:17
@andrewseguin
Copy link
Contributor

Looks like theres some timeout issues happening in the drag-and-drop tests

@aparzi
Copy link
Author

aparzi commented Mar 10, 2026

Looks like theres some timeout issues happening in the drag-and-drop tests

@andrewseguin @adolgachev
Are these things I can fix directly or do they depend on some internal configuration? Thx

@JeanMeche
Copy link
Member

If both brother fail, it likely a legit failure. You should be able to reproduce it localy by running pnpm bazel test //src/cdk/drag-drop:unit_tests_chromium

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

Labels

action: review The PR is still awaiting reviews from at least one requested reviewer area: cdk/drag-drop

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CDK Drag Drop issues with nested lists

4 participants