filemanager
filemanager copied to clipboard
Could not find the drag and drop manager in the context of Row
This library is having issue with my react app, I'm thinking it might be due to the Context API changes, I'm using React 16.7.0. I had similar issues which react-router also cannot find the context.
The Error:
Uncaught Error: Could not find the drag and drop manager in the context of Row. Make sure to wrap the top-level component of your app with DragDropContext.
at invariant (/app/node_modules/@opuscapita/react-filemanager/lib/index.js:832)
at new DragDropContainer (/app/node_modules/@opuscapita/react-filemanager/lib/index.js:7436)
at constructClassInstance (/app/node_modules/react-dom/cjs/react-dom.development.js:12481)
at updateClassComponent (/app/node_modules/react-dom/cjs/react-dom.development.js:14297)
at beginWork (/app/node_modules/react-dom/cjs/react-dom.development.js:15110)
at performUnitOfWork (/app/node_modules/react-dom/cjs/react-dom.development.js:17817)
at workLoop (/app/node_modules/react-dom/cjs/react-dom.development.js:17857)
at HTMLUnknownElement.callCallback (/app/node_modules/react-dom/cjs/react-dom.development.js:149)
at Object.invokeGuardedCallbackDev (/app/node_modules/react-dom/cjs/react-dom.development.js:199)
at invokeGuardedCallback (/app/node_modules/react-dom/cjs/react-dom.development.js:256)
Oh. Looks like we need to migrate Filemanager to newer React version.
Due to we don't use React higher than 16.2.0 in our other projects yet, I can't predict any ETA for this migration. 😞
If someone have time, PRs are welcome.