Yuvaleros / material-ui-dropzone

A Material-UI file upload dropzone
MIT License
485 stars 245 forks source link

Support for MUI 5 #326

Open iTzMeRafa opened 3 years ago

iTzMeRafa commented 3 years ago

Bug Report

Describe the bug

Material-ui-dropzone is not compatible with mui 5, since it requires following packages: "@material-ui/core" "@material-ui/icons"

these packages were renamed to: "@mui/material" "@mui/icons-material"

sah commented 3 years ago

This is a duplicate of https://github.com/Yuvaleros/material-ui-dropzone/issues/305. For a workaround, see my patch (for patch-package) in the comments of that issue.

cjauvin commented 1 year ago

So if I understand well the current situation (late november 2022) is that the support for MUI v5 has been merged, but not been released yet.

Of course as this is an open source project the author is absolutely free to manage it as she sees fit, but I would humbly suggest that it would be nice to consolidate it as soon as possible, to prevent bad fragmentation and confusion, which is already happening, at least from my perspective, because I'm currently forced to use this fork: https://github.com/Deckstar/mui-file-dropzone, which is itself, if I understood correctly, based on another fork: https://github.com/sah/material-ui-dropzone.

cjauvin commented 1 year ago

It seems there's also this fork: https://github.com/lifeeric/material-ui-dropzone, published on npm JS as: https://www.npmjs.com/package/react-mui-dropzone

For my part, I returned finally to plain react-dropzone (on which all these libraries are based, ultimately).