Yuvaleros / material-ui-dropzone

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

Syle conflicts with @mui components #352

Open AndrGutierrez opened 2 years ago

AndrGutierrez commented 2 years ago

when I select an image, some styles change for some reason, for example this button changes his styling, the icons get smaller and I don't know if it happens with any other component

Before picking image

image

 After picking image

image-->

ddemoss222 commented 2 years ago

I am having this issue as well. Please advise. For me this began after upgrading to mui v5. Are there any plans to add a new official release to npm?

Standin-Alone commented 2 years ago

any updates?

ddemoss222 commented 2 years ago

@Standin-Alone For me this issue was caused by lingering dependencies to v4. Make sure you remove all dependencies to v4, including any 3rd party libs that used v4

Standin-Alone commented 2 years ago

okay got it

Standin-Alone commented 2 years ago

how can i still use version 4?

ddemoss222 commented 2 years ago

@Standin-Alone https://v4.mui.com/getting-started/installation/

With that said, I prefer v5 and I am glad I worked through the issues. This is off topic for the issue, though. Please reference the resource included for answers to any further questions

sarosh-farooq commented 2 years ago

I'm facing the same issue. How can I solve this

ddemoss222 commented 2 years ago

So, I double checked my code and I actually used a fork. It appears that for the moment this repo is not being maintained #341

The fork that has been working for me is: https://github.com/Deckstar/mui-file-dropzone

stefanpl commented 1 year ago

@ddemoss222 great hint … worth noting that this is available as an npm module as well. Took me some time to realise 😅

npm i mui-file-dropzone
kkg0 commented 1 year ago

So, I double checked my code and I actually used a fork. It appears that for the moment this repo is not being maintained #341

The fork that has been working for me is: https://github.com/Deckstar/mui-file-dropzone

Hey this fixed the style issues but i cannot apply custom style to the dropzone ? is there any way or it is not possible?