You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Mimetype for .aif/.aiff files imported from file selector in chrome are incorrectly reported as empty. The mimetype is reported correctly in Brave and Safari and in Chrome when the file is instead dragged onto the dropzone instead of using file selector.
To Reproduce
In Chrome
Get an .aif/.aiff file (One is also provided here)
Drag and drop that file onto a dropzone (I am using the hook not the component)
<div{...getRootProps()}><input{...getInputProps()}/><buttontype="button"onClick={open}>
Open File Dialog
</button></div>
See that the mimetype of the accepted file is correct ('audio/aiff')
Use open() to open the file selector
Select the same file that was just dropped
See that mimetype is now the empty string ''
Expected behavior
Mimetype should be reported as 'audio/aiff' not ''
Screenshots
File from drag and drop
File from selector
Desktop:
OS: [macOS]
Browser [chrome]
Version [121.0.6167.139]
The text was updated successfully, but these errors were encountered:
Describe the bug
Mimetype for .aif/.aiff files imported from file selector in chrome are incorrectly reported as empty. The mimetype is reported correctly in Brave and Safari and in Chrome when the file is instead dragged onto the dropzone instead of using file selector.
To Reproduce
In Chrome
open()
to open the file selectorExpected behavior
Mimetype should be reported as 'audio/aiff' not ''
Screenshots
File from drag and drop
File from selector
Desktop:
The text was updated successfully, but these errors were encountered: