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

getFilesFromEvent is not a function #3115

Closed
mr-josh opened this issue Dec 5, 2022 · 2 comments
Closed

getFilesFromEvent is not a function #3115

mr-josh opened this issue Dec 5, 2022 · 2 comments
Labels
Fixed patch Completed issues that will be published with next patch (1.0.X)

Comments

@mr-josh
Copy link

mr-josh commented Dec 5, 2022

What package has an issue

@mantine/dropzone

Describe the bug

Mantine 5.9.1 throws an error when selecting/dropping a file into dropzone.

Error:
getFilesFromEvent is not a function

@porkopek has found a work around in comment linked below:
#3053 (comment)

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

5.9.1

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

No response

Do you know how to fix the issue

None

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

None

Possible fix

We could include the above work around made by @porkopek and include it as default props for the dropzone component?

@porkopek
Copy link

porkopek commented Dec 5, 2022

My workaround is just while this is not solved. The real solution is make this prop optional

@rtivital rtivital added Fixed patch Completed issues that will be published with next patch (1.0.X) and removed review required labels Dec 5, 2022
@rtivital
Copy link
Member

rtivital commented Dec 5, 2022

Fixed in 5.9.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed patch Completed issues that will be published with next patch (1.0.X)
Projects
None yet
Development

No branches or pull requests

3 participants