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

custom layer delay after mouse up #3499

Open
17x opened this issue Sep 6, 2022 · 3 comments
Open

custom layer delay after mouse up #3499

17x opened this issue Sep 6, 2022 · 3 comments

Comments

@17x
Copy link

17x commented Sep 6, 2022

bug1

As you see on above GIF , i'm using custom layer now. after i release my dragging item ( mouse up ), that previewing item would sticking on the place where it last showing about 1 seconds, then DragLayerMonitor.isDragging set to false.

like this problem where i came from

@parkerhsu
Copy link

have you solved this wired problem?

@daniel3c
Copy link

daniel3c commented May 8, 2023

unfortunately, this is a known issue and described in the React DnD docs for the Custom Drag Layer:

"With this approach, we miss out on default 'return' animation when dropping outside the container."

the workaround that solved it for me was creating a full page dropzone that ultimately does nothing on hover or on drop

@MingwieJin
Copy link

unfortunately, this is a known issue and described in the React DnD docs for the Custom Drag Layer:

"With this approach, we miss out on default 'return' animation when dropping outside the container."

the workaround that solved it for me was creating a full page dropzone that ultimately does nothing on hover or on drop

not good but work!!!

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

4 participants