felixrieseberg / felixrieseberg/React-Dropzone-Component

File type icons not properly disappearing on preloaded thumbnail

Open
#109 2 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

I'm using this bit of code to preload the dropzone with already uploaded files, but the file type icons are still present, which looks like this:

screen shot 2017-01-26 at 20 58 57

If I upload a real file, then they disappear correctly.

What triggers the file type icons to disappear? Should I do it manually somehow?

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

Start with the linked FAQ preload example and reproduce the issue using an already uploaded file, then compare it with a real upload in the thumbnail UI. Trace what removes the file type icon in the real-upload path; done means preloaded thumbnails hide the icon in the same way without manual user intervention.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
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.