Skip to content

The ImageAttachment shows the wrong location after deleting other ImageAttachment. #18

@twkevinzhang

Description

@twkevinzhang

In the demo, after I uploaded two pictures, I tried to delete the first picture by pressing the button.
However, the second picture disappeared from the screen, leaving the first picture that should be deleted.

Until I get to the next PDF Page, and then I switch back to this page,
then I got the correct view.

2021-12-27.3.34.13.mov

I watched the array in redux and the data in it is correct, so this may be an issue about the life cycle of React Canvas Component.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions