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

Thumbnail doesn't change when provided id changes #143

@axelvdw

Description

@axelvdw

I'm using the separate components of the react-fine-uploader package to build my desired behavior.
I use the component to display a large Thumbnail of a selected image:

<Thumbnail id={this.state.selectedImage} uploader={uploader} maxSize={250} />

The state gets updated when the user clicks on a smaller version of the thumbnail, so the component re-renders. However, the displayed large thumbnail stays the same even when this.state.selectedImage changes.

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