Please sign in to comment.
fix(animations): leaking detached nodes when parent has a leave trans…
…ition (#34409) In the TransitionAnimationEngine we keep track of the existing elements with animations and we clear the cached data when they're removed. We also have some logic where we transition away the child elements when a parent is removed, however in that case we never cleared the cached element data which resulted in a memory leak. The leak is particularly visible in Material where whenever there's an animated overlay with a component inside of it that has an animation, the child component would always be retained in memory. Fixes #25744. PR Close #34409
- Loading branch information
Showing with 44 additions and 3 deletions.