Skip to content

Unexpected behaviour when file uploading process takes more than 1 seconds #20

Open
@mehimanshupatil

Description

@mehimanshupatil

Refer to #1

I update poster url after uploading the image, but some unexpected behaviour is occurring.
When the file is uploaded in less than a second the poster is updated and the status becomes completed which is expected behaviour.
when the process takes more than a second, then the poster is updated but the delete call is made and status becomes idle, but after clicking upload button it works as expected

codesandbox reproduced example
change timeout to 2000 or more ms

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions