Skip to content

Switching between adding and updating a task causes the added tasks to be rendered in the top left corner of the timeline #31

Description

@bprucha

In version 2.7.0, when both adding and updating tasks within an operation the added tasks end up being rendered in the top left corner of the timeline on top of each other:

Image

Adding an await when switching between the add and update operations seems to correct the issue. See the following example:

https://stackblitz.com/edit/vitejs-vite-f6bgxd7u?file=src%2FApp.tsx

The "Ok" button performs an add then an await and then an update. The "Not Ok" button doesn't await between the add and update actions and causes the added tasks to collect in the top left corner of the timeline. It doesn't matter if the adds are done before or after the updates or if you await on the add and update operations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions