Skip to content

feat(@angular/cdk/cdkDrag): cdkDragEnded out of a container #14136

Closed
@bbogdanov

Description

@bbogdanov

Bug, feature request, or proposal:

Having a property in cdkDragEnded event that indicates the user item drag ended out a container.

For example:
outOfContainer: boolean = false;

What is the expected behavior?

The cdkDragEnded on emit to have an infromation about the user dropping the item out of a container.

What is the current behavior?

There is no such behavior at the moment.

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

I think is a good information to know an the item was dropped out of a container.

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

7+

Metadata

Metadata

Assignees

Labels

P4A relatively minor issue that is not relevant to core functionsfeatureThis 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