Skip to content

Animation starting coords are buggy when the container has transitioned positions #195

@samueleiche

Description

@samueleiche

In our app we have stacked modals that slide in-out on top of each other. Items can be added from one modal and corresponding lists change in another modal. When an item is added, the modal closes and the modal under re-positions itself.

I wanted to try this library in our app, which includes the modals case, but found that the animation starting coords are not calculated properly if an ancestor element container has changed position.

Here's how it can be replicated

This can happen even if the container has finished animating.

Seems like edge case, but it isn't really in more dynamic apps.

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