Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Carousel bug with ngAnimate when debugInfoEnabled=false #3810

Closed
rbosneag opened this issue Jun 12, 2015 · 2 comments
Closed

Carousel bug with ngAnimate when debugInfoEnabled=false #3810

rbosneag opened this issue Jun 12, 2015 · 2 comments

Comments

@rbosneag
Copy link

Just discovered that our carousels won't work when deploying to production.
Problem found was in beforeRemoveClass function:

if (className == 'active' && element.parent() &&
          !element.parent().scope().noTransition)

where .scope() and .isolateScope() is undefined with debugInfoEnabled = false as per angular/angular.js#9515.
Setting it to true is a fix but not a good option for deployment.

check http://plnkr.co/edit/g4zOqw

@intellix
Copy link

Duplicate of: #3794
And appears to have been fixed and merged

@rbosneag
Copy link
Author

I just noticed it was comitted and closed 2h ago :)

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

No branches or pull requests

2 participants