felixrieseberg / felixrieseberg/React-Dropzone-Component

FireFox Does not get File Type When Dragging in Folder

Open
#185 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
999
Forks
148
PR merge metrics
No merged PRs in 30d

Description

Hi

Version: 3.2.0

when I use FF(v62) and try to drag in a folder of files, each file is missing "file.type"

so stuff like: acceptedFiles: "image/jpeg,image/png,image/gif" will stop files from being "accepted" as file type does not match(since each file has a blank file type)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in Firefox 62 by dragging a folder of files and inspect the resulting file.type values. Search the repository for acceptedFiles handling and the drag-and-drop entry point; done means dragged files retain usable types so image/jpeg, image/png, and image/gif filters accept matching files.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.