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

Non-root exit animations not animating #637

Open
rorticus opened this issue Jan 6, 2020 · 0 comments
Open

Non-root exit animations not animating #637

rorticus opened this issue Jan 6, 2020 · 0 comments
Assignees
Labels
area: core Core bug Something isn't working next Issue/Pull Request for the next major version

Comments

@rorticus
Copy link
Contributor

rorticus commented Jan 6, 2020

Bug

Exit animations are not playing if the node with the animation is a child of a node being removed.

Package Version: 7.0.0-alpha.6

Code

  1. Wait for the fade-in animation to complete.
  2. Click Toggle and notice that there is no exit animation (it should fade-out)

https://codesandbox.io/s/goofy-thunder-30r5v

Expected behavior:

The entire subtree containing an animated node remains in the DOM until the animation is complete.

Actual behavior:

The node is being removed from the DOM immediately and the animation cannot play.

@agubler agubler self-assigned this Jul 28, 2020
@agubler agubler added area: core Core bug Something isn't working next Issue/Pull Request for the next major version labels Jul 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: core Core bug Something isn't working next Issue/Pull Request for the next major version
Projects
None yet
Development

No branches or pull requests

2 participants