Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

Initial/canned file's thumbnailUrl is not available until a few ticks after qq.status.UPLOAD_SUCCESSFUL #1802

@rnicholus

Description

@rnicholus

Discovered in React Fine Uploader at FineUploader/react-fine-uploader#91. To properly file, the internal state must be completely updated (which includes the thumbnailUrl) with the data from the parsed initial file record before qq.status.UPLOAD_SUCCESSFUL is triggered. The issue can be seen in the _addCannedFile method, which will have to be adjusted to ensure the event/status change is not broadcast until all internal state is updated.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions