-
Notifications
You must be signed in to change notification settings - Fork 26.5k
Description
I'm submitting a problem with animations of nested elements in RC2
[x] bug report
[ ] feature request
! First of all thanks a lot for AUTO STYLE. It is just an excellent feature that brings great opportunities and save a lot of code and time !
Current behavior
Plunker demo: There is an outer DIV that contains another inner DIV. Buttons allow to expand and collapse them individually.
- Expand the outer and then inner.
- Continue with collapsing the outer.
- Finally expand the outer again.
It is possible to see that height animation using auto style "*" works correctly only partly - it does not respect the height of previously expanded content of inner DIV. It looks like that the hidden evaluation of the outer DIV height does not see the inner expanded DIV. Probably something is wrong with evaluation of the template where *ngIf directives are used.
Expected/desired behavior
Animation of the outer DIV should respect its full content which is available in the actual moment.
Reproduction of the problem
(Example: http://plnkr.co/edit/QXiq9bYcCAcRRmxx04BS?p=preview)
Please tell us about your environment:
- Angular version: 2.0.0-RC.2
- Browser: [Chrome]
- Language: [TypeScript]