Skip to content

Is there any way to force a droppable to accept draggables that come from outside its parent DndContext? #181

Answered by clauderic
growthwp asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @growthwp, thanks for the detailed post and for adding visual supports to illustrate.

This library is currently in beta, and this kind of feedback is definitely welcome to understand some of the use-cases that are stretching the current architecture of library.

To answer your question, I don't foresee it being possible to accept draggables that come from outside of a parent <DndContext>. There's a host of reasons why this wouldn't work. However, I think there are other strategies that could be implemented that would allow for a better separation of concerns, which ultimately is what I think you are looking for. More on that below.

A possibility would be to just simply put Sidebar ins…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@growthwp
Comment options

@growthwp
Comment options

@filippozanfini
Comment options

@growthwp
Comment options

@topolanekmartin
Comment options

Answer selected by growthwp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants