Questions tagged [angular-cdk-drag-drop]
168 questions
0
votes
1 answer
cdkDropListDropped event not emitted when item is dropped
I am trying to do drag and drop without deleting the item from the dragged list. I followed an example Working demo and tried to reproduce the same. Unfortunately it was not working and I found that the cdkDropListDropped event is emitted. You can…

Purushothaman
- 519
- 4
- 16
0
votes
1 answer
CdkDragAndDrop how to disable dropping – Angular
Two element lists. From the first list a user can drag elements to the second one, or he can move elements within the second list. He cannot drag & drop element to the first list.
How can I do it?

Eugene P.
- 1,517
- 12
- 16
0
votes
0 answers
assign cdkDrag dynamically to div using Angular
I have a div which sometimes need to be draggable and sometimes not, right now it has cdkDrag assigned by default, which couses some issues when I don't need it to be draggable.
Is it possible to dynamically add and rmeove cdkDrag from…

Arkadi
- 1,153
- 1
- 14
- 35
0
votes
1 answer
Angular Material CdkDragPreview on Input
I have implemented CdkDrag for my Angular Material Table, Every mat-cell is an input (mat-form-field).
…

Or05230
- 83
- 9
0
votes
0 answers
Angular CDK: Make cdkDropList items draggable?
Recently, I'm working on a scenario which allow user can drag item from one container into drop zone to store items. It would be a way like draw.io does.
However, the items in cdkDropList is sticky. It would not be able to move around.

Heng-Shiou Sheu
- 53
- 10
0
votes
0 answers
Drag and drop items intra list as well as sort inner items
Newbie in angular material, trying to solve a client requirement.
I found an example which is similar to my requirement with this link.
Refer the stackblitz example
**Here in the example the drag and drop is working fine outer-list-to-inner list and…

Nikhil E V
- 1
- 1
0
votes
1 answer
When using mat-table (not classic html table), how to apply cdkDropList to tbody?
I am currently using mat-table as this simple example from documentation: