angular-drag-and-drop-lists icon indicating copy to clipboard operation
angular-drag-and-drop-lists copied to clipboard

dndDragging not working?

Open Deklin opened this issue 8 years ago • 5 comments

Using the demo here http://marceljuenemann.github.io/angular-drag-and-drop-lists/demo/#/advanced

The group of items dragging seems to use the ghost image in chrome and firefox and seems to ignore the CSS all-together. The inner items work but I think they appear to work because they are smaller not because they are actually working.

Is there a way to adjust the ghost image/style used during the drag?

Deklin avatar May 07 '16 00:05 Deklin

I would also like to know how to adjust this.

lothern avatar Oct 05 '16 18:10 lothern

I don't think I quite understand the issue at hand... Maybe a screen cap would help?

You can adjust the ghost image in dragstart using event.dataTransfer.setDragImage, but it can not be modified during the drag.

marceljuenemann avatar Jan 17 '17 00:01 marceljuenemann

Hello, first of all, great library! In the multiselection-demo,, the preview image(event.dataTransfer.setDragImage) is only set after the first drag. This occurs in my chrome 56.x version. I could not find the bug mentioned in other issues.

thepercival avatar Apr 04 '17 09:04 thepercival

i did not add the img to the dom, before the drag-action. This is why the dragimage only shows the second time, this should also be adjusted in the demo.

thepercival avatar Apr 04 '17 11:04 thepercival

Hello, marceljuenemann

I also faced this problem. First time ghost image doesn't show, but from second it is working well. Please help to solve first time not show problem.

Thanks :)

alex-kowalski avatar Oct 18 '17 15:10 alex-kowalski