react-dnd-html5-backend icon indicating copy to clipboard operation
react-dnd-html5-backend copied to clipboard

Delegate to existing backend instead of throwing new Error('Cannot have two HTML5 backends at the same time.');

Open nomcopter opened this issue 8 years ago • 4 comments

I have an app that uses the HTML5 backend for drop and drop internally. I want to use a sub-component that also uses it independently, but in the same app. Currently this is only possible if I can actually make changes to this sub-component to remove it's DragContext or export one without which seems unnecessary.

nomcopter avatar Dec 14 '16 23:12 nomcopter

+1

jcrogel avatar Dec 29 '16 00:12 jcrogel

Is someone working on this? I would like to use React-Big-Calendar with drag and drop support and my own drag and drop component, but I can´t make it work, because of this :/ unless I remove backend from react big calendar, but that is not a good solution...

martinnov92 avatar Apr 05 '17 08:04 martinnov92

@martinnov92 did you found the solution ?

sudhiryadav avatar Apr 12 '17 10:04 sudhiryadav

@sudhiryadav Nope :/, I created pull request to React Big Calendar to export it without React DnD context. It has been approved and now waiting for merge...

martinnov92 avatar Apr 12 '17 10:04 martinnov92