Skip to content

[Drag&Drop] Use descendants: true when dealing with ContentChildren in most drap&drop directives #17047

@brgrz

Description

@brgrz

Feature Description

The change to descendants: true for drag handle in Drag directive was welcoming change. Allow for deeper traversal using descendants:true for other content children also, for example cdkDragPreview and cdkDragPlaceholder.

Use Case

Advanced component nesting scenarios are currently blocked or require cumbersome workarounds like slot projections as pictured here #13360 (comment)

When most issues would be solved with deep traversal for content children.

Also, the new policy of locking issues which already cover the topic like here #13784 does not help the conversation at all.

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentfeatureThis issue represents a new feature or feature request rather than a bug or bug fix

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions