$AnimateProvider "enter" method bug
The "enter" method in $AnimateProvider throws an error if no "after" parameter is passed and "parent" parameter is an empty element.
Here is what the method looks like:
function(element, parent, after, done) {
if (after) {
after.after(element);
} else {
if (!parent || !parent[0]) {
parent = after.parent();
}
parent.append(element);
}
async(done);
}
The inner condition throws an error because "after" element is never defined (it is eliminated by the preceding condition).
I am not sure what the right behavior should be so I don't propose any fix.
Can you provide a scenario where you call enter in this way so that we can ascertain what the best fix should be? A working Plunker would be ideal.
This sounds suspiciously like #6275 --- but matias fixed that one
Yep, it seems I did a bad work when searching through existing issues.