Skip to content

bug(cdk/drag-drop): Missing cdkDrawPreviewContainer directive? #23114

@maxime1992

Description

@maxime1992

Expected Behavior

What behavior were you expecting to see?

Being able to use cdkDrawPreviewContainer as state by the doc on the repo and the official documentation (which probably just reflects the markdown file): https://material.angular.io/cdk/drag-drop/overview#drag-preview-insertion-point

image

Actual Behavior

What behavior did you actually see?

This directive doesn't seem to be anywhere? Searching for it on all github only gives back that result where the doc mention it once: https://github.com/search?q=cdkDrawPreviewContainer&type=code

Looking in angular/components repo or even into the node_modules of my project for cdkDrawPreviewContainer doesn't seem to give anything. Was it removed maybe at some point? I'd really need it because I'm trying to reorder lines in a table and the whole layout is broken. I had good hopes with this one directive but unfortunately it doesn't seem to be available anywhere

Environment

  • Angular: 12.1.0
  • CDK/Material: 12.1.0
  • Browser(s): Not relevant
  • Operating System (e.g. Windows, macOS, Ubuntu): Not relevant

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: cdk/drag-dropdocsThis issue is related to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions