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

Can a component be both draggable and droppable at the same time ? #800

Closed
justduy opened this issue Sep 14, 2018 · 2 comments
Closed

Can a component be both draggable and droppable at the same time ? #800

justduy opened this issue Sep 14, 2018 · 2 comments

Comments

@justduy
Copy link

justduy commented Sep 14, 2018

I would like to know if this is possible, for a component to be both draggable and droppable. The use case can for example be a file tree where folders are both droppable and draggables. I've tried to search for the answer, but haven't found anything yet.

@alexreardon
Copy link
Collaborator

We do not support that. Although, the new combining API will allow you to combine Draggables. That might get you where you want to #511

@alexreardon
Copy link
Collaborator

The same component being a draggable and a droppable - i have not tested it. It probably will not work as we expect droppable's to stay in the same place during a drag

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