I am facing an issue with a simple div that has a transition effect. It goes from a yellow background to a red one.
<div class="bar" ng-class="{'bar-visible': vm.visible}">
The transition works smoothly when the bar-visible class is added to the div.
Everything functions correctly in Chrome and IE.
However, when I add a wrapper div around it, the transition stops working on Internet Explorer (tested with IE10).
<div class="bar--wrapper" ng-if="vm.visible">
<div class="bar" ng-class="{'bar--visible': vm.visible}">
</div>
I have tried including ngAnimate in this case. While it resolves the issue in Chrome, in IE, the red div appears immediately without playing the transition. There are no transitionstart (IE only) or transitionend events triggered.
You can see the problem illustrated in this plunker:
http://plnkr.co/vpJzudnLxTwoJGZoZaNd
Does anyone know what might be causing this issue?