Skip to content

Material 7 Drag and Drop ng-template incompatibility #14798

@swirlsky

Description

@swirlsky

Bug, feature request, or proposal:

BUG (probably)

What is the expected behavior?

Transferring items between lists should be possible

What is the current behavior?

Dragging works but dropping does not. As if the drop zones wouldn't be there at all.

What are the steps to reproduce?

https://stackblitz.com/edit/angular-jcfbx7?file=src/app/hello.component.ts

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

It is not working as expected.

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

Angular 7.2, Material 7.2, TypeScript 3.2, reproduced in Chrome as well as in Firefox under Ubuntu

Is there anything else we should know?

ng-template and ngTemplateOutlet might cause the problem.
might be relevant: https://stackoverflow.com/questions/53210886

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions