-
-
Notifications
You must be signed in to change notification settings - Fork 231
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
DndProvider breaking the app on latest versions #175
Comments
Occured same problem, do you have any update on this? In my case wrapping Mosaic with Dnd won't help |
Ok, It seems that the problem relies on that yarn has different behavior than npm 7+ and does not install peerDependencies automatically. When I've installed it with the newest npm but with --legacy-peer-deps everything works fine. |
Hmm yeah - this is obnoxiously npm 7+ installing peer dependencies and so there are multiple versions of |
Fixed in v5.2.2 |
Bug report
Steps to reproduce
Actual behavior
App is failed to start wit error:
Could not find the drag and drop manager in the context of DragSource(InternalMosaicWindow). Make sure to render a DndProvider component in your top-level component. Read more: http://react-dnd.github.io/react-dnd/docs/troubleshooting#could-not-find-the-drag-and-drop-manager-in-the-context
Expected behavior
works like a magic.
Notes:
Mosaic
with<DndProvider backend={HTML5Backend}>
in own app, everything works as expected.The text was updated successfully, but these errors were encountered: