angular / components

Component infrastructure and Material Design components for Angular
https://material.angular.io
MIT License
24.37k stars 6.75k forks source link

All cdkDrag items in a CdkDrop element are assumed to be members of a reorderable list #13340

Open josephperrott opened 6 years ago

josephperrott commented 6 years ago

Currently all cdkDrag items in a CdkDrop element are treated as reorderable items in a list. While the underlying data structure is still left to the developer, the CdkDragDrop system updates the UI temporarily with changes to the "list order" even if the items are not supposed to be treated as a list.

Instead, we should have two directives for CdkDrop areas, cdkDropZone and cdkDropList. The former, does not do any automatic UI changes during the drag action and the latter does the current action of reordering items in the list.

liesahead commented 2 years ago

Is there any ETA for this feature?

shyamal890 commented 5 months ago

Wondering if there are any updates on this