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

Is there any way to prevent coming drag & drop if container has more than 3 draggable items? #36

Closed
bracano45 opened this issue Mar 28, 2019 · 2 comments

Comments

@bracano45
Copy link

I am implementing React drag and drop using this library and I have one problem.
I have several containers in the app and I am going to prevent coming drag & drop(though I can move existing draggable into another container) if that container has more than 3 draggables inside. 🤔
It would be nice if I can solve this issue soon.
Thanks. 👍

@kutlugsahin
Copy link
Owner

Yes there is!
see docs

@bracano45
Copy link
Author

bracano45 commented Mar 28, 2019

Wow. great! thanks. I missed that function in docs.

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