javascript - Element removal via ng-if is delayed when using ngAnimate -
element removal dom ng-if or ng-show delayed when nganimate injected app, not occur otherwise.
plunkr: https://plnkr.co/edit/rptjsdccggpg6xfs0ivp
var app = angular.module('app', ['nganimate']);
why happening, , how fix it?
this kind of workaround hack make work, if wrap buttons in <div></div>
ng-if on wrapper load. https://plnkr.co/edit/pgzgrkzzho7gsckwfp23?p=preview
Comments
Post a Comment