viclafouch / mui-file-input

A file input designed for the React library MUI
https://viclafouch.github.io/mui-file-input/
MIT License
77 stars 17 forks source link

"Select, clear, select the same file" won't work on v4.0.2 #47

Closed arontier-egkim closed 8 months ago

arontier-egkim commented 8 months ago

(First of all, thanks for your fabulous work. I really enjoy it.)

As stated in the title, select a file, clear the file and then select the same file is not working. I.e. MuiFileInput does not show any thing.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://viclafouch.github.io/mui-file-input/docs/playground/
  2. Click "Edit in CodeSandbox"
  3. Click "package.json" on the left pane.
  4. Change "mui-file-input" version to "4.0.2"
  5. Test MuiFileInput with the above sequence: select a file, clear the file, and select the same file again.

Expected behavior Should show the file just like MuiFileInput v3.0.0.

Desktop (please complete the following information):

Keep up the good work! Hope this get fixed soon. :-)