Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
samueleiche opened this issue Feb 22, 2024 · 0 comments

Comments

@samueleiche
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant