Closed N1kto closed 8 years ago
Save here.
It seems preview image is created after drag started.
Chaneg this line to dataTransfer.setDragImage(dragPreview.cloneNode(true), dragPreviewOffset.x, dragPreviewOffset.y);
can be a workaround.
@yesmeck thanks for comment. That didn't work. I think it's something with the way browser (Chrome 50) creates that drag image. That explains why in Chrome 49 and all other browsers all works fine.
Seems like dedicating a layer to drag preview node (by adding CSS will-change: transform
) 'fixes' the issue.
More and more confident that the issue's root cause comes from mentioned Chrome's commit. Will check with them.
I'll close it for now.
In our application we started to observe issue with dragging item image. Here is how it looks like:
As one can mention outcome items are not drawn at all, while question items are 'screenshotted' without inner text (only grey rectangle).
Reproducible only on Chrome 50 (checked on 50.0.2661.75, on .86 and on .87m) . On FF and Safari all works as expected though... Can it be related to this Chrome 50 commit:
What can be the way to tackle this issue?