Issues with Drag/Drop

Hi all,

I am trying to use drag/drop functionality in my application. I have a set of labels in vertical layout. The labels have background image. I have wrapped labels with DragAndDropWrapper. When I try to drag a label, only label gets dragged, background image is not shown along with a label. I tried all drag modes such as COMPONENT and WRAPPER.

How can I drag a label along with background image?


It could be that the background css styles are not being picked up the the dragged copy of the label.

Try applying the same styles to the drag element and see if it helps

.v-drag-element .v-label-mylabelwithbackgroundimage{
      background: url(...);

It does not work even after css is applied to drag/drop wrapper.