React-dropzone: .csv file doesn't appear in Custom filers filter when open react-dropzone

Created on 25 Mar 2018  路  4Comments  路  Source: react-dropzone/react-dropzone

Do you want to request a feature or report a bug?

  • [x] I found a bug
  • [ ] I want to propose a feature

What is the current behavior?

  • when open browse files and files appears under custom files in the dialog .csv file doesn't appear
    If the current behavior is a bug, please provide the steps to reproduce.
  1. open file dialog
  2. custom files filter appear
  3. .csv file doesn't appear

What is the expected behavior?
.csv file should appear
If this is a feature request, what is motivation or use case for changing the behavior?

Please mention other relevant information such as the browser version, Operating System and react-dropzone version.

Most helpful comment

we managed to solve this issue by adding the extension and mime types in the acceptedfile prop as following
.csv , .xlsx

All 4 comments

@reemtariqq can you provide the browser, OS, and react-dropzone you are using please? I was unable to duplicate w/ the examples on chrome v65 in MAC OS.

i'm using windows 10 and latest version of react-dropzone

hi, same for me, on chrome v65, windows 7 pro

we managed to solve this issue by adding the extension and mime types in the acceptedfile prop as following
.csv , .xlsx

Was this page helpful?
0 / 5 - 0 ratings

Related issues

CarlosUvaSilva picture CarlosUvaSilva  路  5Comments

cbougatsa picture cbougatsa  路  3Comments

steverecio picture steverecio  路  4Comments

0xdevalias picture 0xdevalias  路  4Comments

nzwnabdulwahid picture nzwnabdulwahid  路  4Comments