react-mui-fileuploader icon indicating copy to clipboard operation
react-mui-fileuploader copied to clipboard

Exception Occurred While Loading Files Not Supported by the Browser

Open larvata opened this issue 1 year ago • 0 comments

When loading a file the browser cannot parse, e.g., load a HEIC file on windows chrome.

The following line will raise an exception TypeError: Cannot read properties of undefined (reading 'toLowerCase'), because the file.type is empty. https://github.com/rouftom/react-mui-fileuploader/blob/main/src/FileUpload.tsx#L196C12-L196C12

larvata avatar Jun 28 '23 01:06 larvata