Skip to content

cdk drag and drop - cdkDragDropped event not triggered #12086

Closed
@pas2al

Description

@pas2al

Bug

What is the expected behavior?

The drop event cdkDragDropped should trigger the custom method

What is the current behavior?

The demo app for drag drop has two lists (todo and done). The items in the list are not updated from the cdkDragDropped event. The associated drop(event: CdkDragDrop<string[]>){...} method is not called.

What are the steps to reproduce?

I created an example with the exact same implementation like in the material2 demo-app.
https://stackblitz.com/edit/angular-material2-issue-eemhuq

I also tried it with the complete material2 repository. Cloned the repository and started the demo app using gulp serve:devapp. Same problem, like in the stackblitz example.

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

See stackblitz example

Based on the changes introduced in #11864 by @crisbeto

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions