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

canDrop invoked permanently? #3602

Open
marvinderksen opened this issue Oct 29, 2023 · 0 comments
Open

canDrop invoked permanently? #3602

marvinderksen opened this issue Oct 29, 2023 · 0 comments

Comments

@marvinderksen
Copy link

marvinderksen commented Oct 29, 2023

Thanks for this great library! It is really quite usable once you get the hang of it (the docs however could use some polishing :) )
I got a situation where I need to decide whether an item can be dropped. Using canDrop of useDrop this is easy to accomplish.
Is there any chance I bricked my implementation there as canDrop seems to be invoked every x milliseconds (s. gif below). Is this by design? In this case could you provide an explaination? I was not able to read it off the sources :(

If necessary I can provide a minimal reproduction :)

Ignore the "standalone" logs of canDrop. You will recognize a tremendous amount of logs at the bottom:
dnd-candrop

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

1 participant