This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Directives got duplicated after an $animate.enter since beta.5 #8895
Closed
Description
I got an issue where a directive was being created twice when I did some $animation.enter
.
The issue started on my repo: Foxandxss/angular-toastr#18 so I started researching about it and the change was on beta.5 (when $animate.enter
started to prepend instead of append).
I managed to reproduce it here: http://plnkr.co/edit/oYmXPIeN16g75a3kQJQc?p=preview
Starting from the console error (In my code I use enter
like that and I get no error tho). Technically that shouldn't happen (I think).
Leaving that aside, you can see the directive twice on screen. If you change templateUrl
to template
it works (much like #6006).
So I was wondering if I did wrong on the plunker (adding a third parameter resolves the issue) or there is a bug.