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

Signature of onFileDrop seems wrong #1240

Open
ewalddieser opened this issue Dec 16, 2022 · 0 comments
Open

Signature of onFileDrop seems wrong #1240

ewalddieser opened this issue Dec 16, 2022 · 0 comments

Comments

@ewalddieser
Copy link

onFileDrop expects a method with signature (files: File[]) but it actually passes a FileList.

In most cases it's maybe not even noticeable but you will get an error if you for example want to filter the files or call any other array methods on it.

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

1 participant