Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resize sensor element interfering with HTML Drag and Drop #297

Open
A-Lim opened this issue Jul 3, 2020 · 3 comments
Open

Resize sensor element interfering with HTML Drag and Drop #297

A-Lim opened this issue Jul 3, 2020 · 3 comments

Comments

@A-Lim
Copy link

A-Lim commented Jul 3, 2020

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.

@marcj
Copy link
Owner

marcj commented Jul 3, 2020

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

@A-Lim
Copy link
Author

A-Lim commented Jul 3, 2020

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
Copy link
Author

A-Lim commented Jul 13, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants