Skip to content

Support HTML5 canvas elements when cloning drag preview #15685

@masaala

Description

@masaala

Please describe the feature you would like to request.

Would be nice if default cdkDragPreview element would copy canvas elements too. Now one needs to handle copying process by their own and create custom cdkDragPreview elements to be shown in preview.

What is the use-case or motivation for this proposal?

For example drag drop list of charts.

Is there anything else we should know?

Here you can find simplified example to see canvas element disappearing from drag preview.
https://stackblitz.com/edit/angular-efx3ry

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentfeatureThis 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