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

Draggin via touch breaks the display #44

Open
Techn1c4l opened this issue Mar 20, 2024 · 3 comments
Open

Draggin via touch breaks the display #44

Techn1c4l opened this issue Mar 20, 2024 · 3 comments
Assignees

Comments

@Techn1c4l
Copy link

Techn1c4l commented Mar 20, 2024

When doing drag and drop using mouse, it works just fine.

However, once switched to a touch device view in a browser, the display is broken. Strangely, it also won't allow any right click on the page on any element afterwards. After checking the DOM, it seems like the copy of the dragged node is added to the DOM, but never removed.

Switching back to the mouse device doesn't fix it.

This is how it looks like.

image

Tested both on Chrome 122.0.6261.129 and Firefox 123.0.1.

P.S. Can we get an option to disable opacity on a dragged node?

@sashamilenkovic
Copy link
Contributor

@Techn1c4l Hey there! Would you mind showing a reproduction of how you get into the broken state? I am having a hard time replicating on my end.

@sashamilenkovic sashamilenkovic self-assigned this Mar 20, 2024
@Techn1c4l
Copy link
Author

@Techn1c4l Hey there! Would you mind showing a reproduction of how you get into the broken state? I am having a hard time replicating on my end.

I tried to reproduce it on the StackBlitz, but it works just fine there. Guess I'll have to look into my project a bit more.

@Leorio21
Copy link

Leorio21 commented May 2, 2024

Hi !
I have the same problem, it's appear when using handleEnd function

No problem when drag with mouse, only with touch device.

image

EDIT : solution find in other ticket, with call handleEnd in handleEnd

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

No branches or pull requests

3 participants