Skip to content

Support copying items from source container #13906

Closed
@TKul6

Description

@TKul6

Bug, feature request, or proposal:

Feature request

What is the expected behavior?

When dragging (in order to copy) items from the source container the item should not leave the _initalContainer.
In addition, when the item is being copy, the sorting behavior should be disabled (Not sure about that...)

What is the current behavior?

Currently the items can not really be copied to another container, There was basic support developed to solve #13100, but still the UX is not so friendly (the item is disappeared from the source container and then re added), I think it would be best if the item will remained in its old position and not disappear.

What is the use-case or motivation for changing an existing behavior?

The user preform search and then the results appears in a table, I want to be able to copy the items from the search results to designated zones (which might already include items) without loosing the item in the search list

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Is there anything else we should know?

I started to work about some simple example 4a5b254. (it is in very early stage, but it should explain the basic behavior).

What do you say?
Thanks,

Metadata

Metadata

Assignees

Labels

P2The issue is important to a large percentage of users, with a workaroundarea: cdk/drag-dropfeatureThis 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