-
Notifications
You must be signed in to change notification settings - Fork 27.4k
ng-view duplication in the 1.4.RC #11867
Comments
Are you using |
@gkalpak yep, I'm using |
On the other hand, your routing configuration seems odd (incorrect ?). You are redirecting to a non-existent route (unless you haven't pasted the whole config) and you are specifying a In any case, it is next to impossible to troubleshoot this, without a minimal (live) reproduction (e.g. using codepen, plnkr, jsfiddle etc). |
@gkalpak thanks for the tip to add |
Changing config to this solves the issue with duplication .when('/', {
templateUrl: 'noRoute.html'
})
.otherwise({
redirectTo: '/'
}); |
@havenchyk, glad this is solved for you. @matsko, although the issue appeared because of some incorrect routing configuration, I suspect leaving |
I didn't know you can use The main point is that ngAnimate is screwing up somehow. I'm looking into it right now. |
…st function Prior to this fix if `$animate.enter()` or `$animate.leave()` was called before a digest was issued then the element may not be cancelled early enough. This fix ensures that the previous structural animation is cancelled immediately when a follow-up animation is kicked off. Closes angular#11867
…st function Prior to this fix if `$animate.enter()` or `$animate.leave()` was called before a digest was issued then the element may not be cancelled early enough. This fix ensures that the previous structural animation is cancelled immediately when a follow-up animation is kicked off. Closes angular#11867
…st function Prior to this fix if `$animate.enter()` or `$animate.leave()` was called before a digest was issued then the element may not be cancelled early enough. This fix ensures that the previous structural animation is cancelled immediately when a follow-up animation is kicked off. Closes angular#11867
Hi there,
I've upgraded my application to the 1.4-RC2 and found that after changing of the route e.g. from 'route1' to 'route2' there is several dom elements with
ng-view
attribute.Issue is reproducible in my application with versions RC0, RC1 and RC2 and only on the route that will be handled in
otherwise
. E.g. '/Book'I haven't able to reproduce this issue on jsbin, but it exists in my application.http://jsbin.com/buzuwe/2/edit?html,js,output
Simplified version of my config looks like this:
Could anyone help to find, what's the problem here? Is it a bug or just wrong structure of my application?
Thanks in advance
The text was updated successfully, but these errors were encountered: