Scenario
In my current project (Angular 8) I want to add items from a source list to a target list by using the Angular CDK Drag & Drop-Module. The item should still appear inside the source list after this interaction.
The problem
After checking out the examples it looked pretty straightforward. Inside the drop
-Event I've replaced transferArrayItem()
with copyArrayItem()
, however I want to keep the dragged item inside the source list even while dragging.
To provide you a simplified overview I've forked an official example by Google and changed the handling of the drop
-Event to illustrate the issue (1).
Do you have any idea how to accomplish this behaviour?