Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Animations don't work when used inside a div that has both ng-app and ng-view directives. #4397

Closed
vvolodin opened this issue Oct 13, 2013 · 2 comments · Fixed by #4573
Closed

Comments

@vvolodin
Copy link

I was running my app in a single div having both ng-app and ng-view set on it.

<div data-ng-app="shayba.app" ng-view="">
</div>

Animations didn't work for me until I've created an inner div specifically for ng-view

@matsko
Copy link
Contributor

matsko commented Oct 13, 2013

The bug here is just about the same as in this thread: #4231. I am working on a fix today and it should be ready for tomorrow.

@vvolodin
Copy link
Author

You're right, I've noticed too that

parent.inheritedData(NG_ANIMATE_STATE) || disabledAnimation).running

is always true in this case

@ghost ghost assigned matsko Oct 14, 2013
@matsko matsko closed this as completed in 2623de1 Oct 23, 2013
jamesdaily pushed a commit to jamesdaily/angular.js that referenced this issue Jan 27, 2014
jamesdaily pushed a commit to jamesdaily/angular.js that referenced this issue Jan 27, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants