Skip to content

Angular DropList with cdkDropListConnectedTo not working in ShadowDom #16898

Closed
@trungphan

Description

@trungphan

Dragging items from one list to another list where both list are in the same shadow roots does not work.

Reproduction

Steps to re-create:

This is because of the condition check "elementFromPoint === nativeElement || nativeElement.contains(elementFromPoint)" in the method _canReceive : https://github.com/angular/components/blob/master/src/cdk/drag-drop/drop-list-ref.ts#L834

Metadata

Metadata

Assignees

Labels

GThis is is related to a Google internal issueP2The issue is important to a large percentage of users, with a workaround

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions