-
Notifications
You must be signed in to change notification settings - Fork 26.5k
Closed as not planned
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsarea: animationsfreq2: mediumtype: bug/fix
Milestone
Description
I'm submitting a...
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[ ] 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
[ ] Other... Please describe:
Current behavior
Expected behavior
Minimal reproduction of the problem with instructions
When triggering an animation of an element shown with *ngIf while an animation is already running, the element is rendered twice:

The pink and the blue box should only be shown once. This happens when hitting the toggle button multiple times in the following example: angular 7.0.0-beta.7
This also occurs with angular 6.1.9: angular 6.1.9
This issue seems related to #23302
Note: at no time there exists more than one component instance, see this example: https://stackblitz.com/edit/angular-gitter-dp3cub

What is the motivation / use case for changing the behavior?
It's a bug
Environment
Angular version: 7.0.0-beta.7
Browser:
- [x] Chrome (desktop) version 68
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [x] Firefox version 62
- [x] Safari (desktop) version 12
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
fjozsef, simeyla, katyapavlenko, jonathonadams, gdinn and 5 more
Metadata
Metadata
Assignees
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsarea: animationsfreq2: mediumtype: bug/fix

