-
Notifications
You must be signed in to change notification settings - Fork 26.5k
Closed as not planned
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: animationsfreq2: mediumstate: needs more investigationtype: bug/fix
Milestone
Description
I'm submitting a...
[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
Current behavior
Even when disabled, styles of animation are preserved. This is not bad, however when animation state changes and and we enable animation, styles are not updated.
Expected behavior
Styles should update when animation becomes active again.
Minimal reproduction of the problem with instructions
https://stackblitz.com/edit/angular-ds3u1p
sidenav switches between mobile and mini variant depending on window width(xs - mobile, gt-xs -mini)
- Go to "mini" variant(
collapse
state is active), - Go to mobile variant(
collapse
state is still active) - Open sidenav and close it(
collapse
is no longer active) - Go to "mini" variant(
collapse
is not active <- problem)
What is the motivation / use case for changing the behavior?
inconsistency
Environment
Angular version: 4.4.6
Browser:
- [x] Chrome (desktop) version 59
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
For Tooling issues:
- Node version: XX
- Platform: Linux(Ubuntu 16.04)
Others:
ZenSoftware
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: animationsfreq2: mediumstate: needs more investigationtype: bug/fix