angular-docs-cn/packages/animations/browser/test/render
crisbeto 835ed0f35f fix(animations): leaking detached nodes when parent has a leave transition (#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
2019-12-16 12:39:25 -08:00
..
css_keyframes refactor: remove redundant error in catch (#25478) 2019-01-04 15:42:19 -08:00
web_animations test(animations): fix Node.js detection in animation tests (#24139) 2018-05-29 18:21:20 -04:00
timeline_animation_engine_spec.ts test(animations): properly reference body node for SSR environments (#23300) 2018-06-20 11:00:41 -07:00
transition_animation_engine_spec.ts fix(animations): leaking detached nodes when parent has a leave transition (#34409) 2019-12-16 12:39:25 -08:00