Skip to content
Snippets Groups Projects
Commit 08793a7c authored by rhenck's avatar rhenck
Browse files

DragAndDrop: Make drag preview keep the size of te dragged item

parent df225063
No related branches found
No related tags found
No related merge requests found
Pipeline #43504 passed
......@@ -61,7 +61,7 @@ import { FormElementComponent } from '../../directives/form-element-component.di
(cdkDragEnded)="dragEnd()"
[style.background-color]="elementModel.styling.itemBackgroundColor">
<span>{{dropListValueElement.text}}</span>
<ng-template cdkDragPreview>
<ng-template cdkDragPreview matchSize>
<div class="text-preview"
[style.color]="elementModel.styling.fontColor"
[style.font-family]="elementModel.styling.font"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment