Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
bbogdanov opened this issue Nov 14, 2018 · 1 comment · Fixed by #14140
Closed

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

bbogdanov opened this issue Nov 14, 2018 · 1 comment · Fixed by #14140
Assignees
Labels
feature This issue represents a new feature or feature request rather than a bug or bug fix P4 A relatively minor issue that is not relevant to core functions

Comments

@bbogdanov
Copy link

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+

@crisbeto crisbeto self-assigned this Nov 14, 2018
@crisbeto crisbeto added feature This issue represents a new feature or feature request rather than a bug or bug fix has pr P4 A relatively minor issue that is not relevant to core functions labels Nov 14, 2018
crisbeto added a commit to crisbeto/material2 that referenced this issue Nov 14, 2018
…utside of container

Adds an extra flag on the `CdkDragDrop` event that indicates whether the user's pointer was over the container when they dropped an item.

Fixes angular#14136.
crisbeto added a commit to crisbeto/material2 that referenced this issue Nov 15, 2018
…utside of container

Adds an extra flag on the `CdkDragDrop` event that indicates whether the user's pointer was over the container when they dropped an item.

Fixes angular#14136.
crisbeto added a commit to crisbeto/material2 that referenced this issue Nov 27, 2018
…utside of container

Adds an extra flag on the `CdkDragDrop` event that indicates whether the user's pointer was over the container when they dropped an item.

Fixes angular#14136.
jelbourn pushed a commit that referenced this issue Nov 28, 2018
…utside of container (#14140)

Adds an extra flag on the `CdkDragDrop` event that indicates whether the user's pointer was over the container when they dropped an item.

Fixes #14136.
josephperrott pushed a commit to josephperrott/components that referenced this issue Jan 14, 2019
…utside of container (angular#14140)

Adds an extra flag on the `CdkDragDrop` event that indicates whether the user's pointer was over the container when they dropped an item.

Fixes angular#14136.
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature This issue represents a new feature or feature request rather than a bug or bug fix P4 A relatively minor issue that is not relevant to core functions
Projects
None yet
2 participants