Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom mime type filters not working properly on windows #2864

Closed
Zheruel opened this issue Nov 2, 2022 · 1 comment
Closed

Custom mime type filters not working properly on windows #2864

Zheruel opened this issue Nov 2, 2022 · 1 comment

Comments

@Zheruel
Copy link

Zheruel commented Nov 2, 2022

What package has an issue

@mantine/dropzone

Describe the bug

This seems to be Windows issue (tested on mac for the same use-case and it doesn't happen)
Did not test this on Linux.

When you add custom mime types to the accept property of the component related to powerpoint files (.ppt, .pptx) they work fine if they are the only mime types given to the component.

However, if you have things in there other than the powerpoint mime types then it starts to not show these files until you select "all files. If you select all files and upload these files they will still work fine (it's just that they don't show until you select all files)

123

What version of @mantine/hooks page do you have in package.json?

5.6.4

If possible, please include a link to a codesandbox with the reproduced problem

https://codesandbox.io/s/naughty-chebyshev-qk59oj?file=/src/Example.tsx

Do you know how to fix the issue

No

Are you willing to participate in fixing this issue and create a pull request with the fix

Yes

Possible fix

It's possible that this bug is not with you guys but instead the dropzone third party module you're using.

@rtivital
Copy link
Member

rtivital commented Nov 2, 2022

This is not something we can fix on our side, try searching for similar issues in react-dropzone repository – https://github.com/react-dropzone/react-dropzone

@Zheruel Zheruel closed this as completed Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants