You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
masaala opened this issue
Apr 2, 2019
· 1 comment
· Fixed by #15808
Assignees
Labels
featureThis issue represents a new feature or feature request rather than a bug or bug fixP3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
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?
By default we generate the preview and placeholder for a `cdkDrag` using `cloneNode`, however it won't clone the content of `canvas` elements. These changes add some extra logic to transfer the canvas content over into the clones.
Fixesangular#15685.
By default we generate the preview and placeholder for a `cdkDrag` using `cloneNode`, however it won't clone the content of `canvas` elements. These changes add some extra logic to transfer the canvas content over into the clones.
Fixes#15685.
…15808)
By default we generate the preview and placeholder for a `cdkDrag` using `cloneNode`, however it won't clone the content of `canvas` elements. These changes add some extra logic to transfer the canvas content over into the clones.
Fixesangular#15685.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
featureThis issue represents a new feature or feature request rather than a bug or bug fixP3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
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
The text was updated successfully, but these errors were encountered: