Skip to content

Malformed <div ui-view></ui-view> throws error #3205

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
christopherthielen opened this issue Dec 15, 2016 · 3 comments
Closed

Malformed <div ui-view></ui-view> throws error #3205

christopherthielen opened this issue Dec 15, 2016 · 3 comments
Labels
Milestone

Comments

@christopherthielen
Copy link
Contributor

christopherthielen commented Dec 15, 2016

<div ui-view></ui-view>
<div ui-view></ui-view>

causes:

Cannot read property '$$animLeave' of undefined

Note in ng 1.5.9 this logs to console but in 1.6.0 it logs "Possibly unhandled error in promise"

1.5

http://plnkr.co/edit/2beFjVogMk1zAZXH3vKq?p=preview

angular.js:14110 TypeError: Cannot read property '$$animLeave' of undefined
    at VM328 angular-ui-router.js:4024
    at processQueue (angular.js:16606)
    at angular.js:16622
    at Scope.$eval (angular.js:17913)
    at Scope.$digest (angular.js:17727)
    at angular.js:17952
    at completeOutstandingRequest (angular.js:6035)
    at angular.js:6314

1.6:

http://plnkr.co/edit/Y5etCjiGk1ehzx7ElYSy?p=preview

VM326 angular.js:14324 Possibly unhandled rejection: {}
@christopherthielen
Copy link
Contributor Author

I believe this is fixed in 1.0 via #3164

I will backport this code and see if it fixes the issue in legacy branch.

@christopherthielen
Copy link
Contributor Author

^ Yep, backporting #3164 fixes the issue: http://plnkr.co/edit/GWE5NVnCWBVaksB3Y5KY?p=preview

@christopherthielen
Copy link
Contributor Author

Closed by 5be98e0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant