css-element-queries icon indicating copy to clipboard operation
css-element-queries copied to clipboard

Resize sensor element interfering with HTML Drag and Drop

Open A-Lim opened this issue 4 years ago • 3 comments

I'm currently using the resize sensor together with HTML Drag and Drop. The resize sensor seems to be interfering with the html drag and drop preview during onDrag. As you can see from the image below, the preview is supposed to be only what is highlighted in the red box, but due to the extra elements added by the resize sensor, the preview expands to more than it is supposed to.

Capture

I believe this is the css that is causing the problem. Capture

Is there a fix or a workaround for this? Thank you.

A-Lim avatar Jul 03 '20 15:07 A-Lim

Can you please post a gif/mp4? Your screenshots are not clear to me.

marcj avatar Jul 03 '20 15:07 marcj

Hi, my screen recorder wasn't able to capture the drag preview so i created a stackblitz instead. You can stimulate the problem by trying to drag the card element.

A-Lim avatar Jul 03 '20 16:07 A-Lim

Hi @marcj , any updates on this? Will there be a fix or something? Thank you.

A-Lim avatar Jul 13 '20 02:07 A-Lim