Open UltimateUnicorn opened 1 month ago
Hello !
Could you please provide a codesandbox for repro ?
Hi Victor ! I've pushed my project to GitHub and imported it into codesandbox. Here is the https://codesandbox.io/p/github/UltimateUnicorn/sogeco1/main
On the left you'll find a navigation drawer with, at its bottom, a link called "mfi". It lead to a page where the issues I mentionned are being visible.
I believe both you and I are, and therefore speak, french, but keeping going in english might help a couple other people ?
Hi Victor ! A couple remarks :
I can't access to your codesandbox :/ Looks like it's private
Hi. Sorry for that. I've updated the visibility of my repo and the link in the previous comment as well. Thanks for your help.
Describe the bug The component doesn't render as expected :
To Reproduce Steps to reproduce the behavior:
npx create-next-app@latest
Expected behavior I believe the component should render / behave identical to the examples provided on the project's website.
Screenshots This screenshot illustrates the first issue : no file is selected but the "File" label stay far above the component, though it should be "inside" the selection field.![image](https://github.com/viclafouch/mui-file-input/assets/48296182/eb95c2c2-004a-43e7-99c2-273fe86469e3)
This one illustrates the second issue : when a file is selected the "clear" icon is not displayed, though the button is rendered (not visible on the screenshot)![image](https://github.com/viclafouch/mui-file-input/assets/48296182/75189be1-494b-48b8-b7c8-ecf638c0010a)
There are no issues when checking out the author's website![image](https://github.com/viclafouch/mui-file-input/assets/48296182/038e871f-2db7-4c81-86e0-13f7adbacfab)
Content of my package.json
Desktop :