You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for letting me know, I'll get onto it when I can - from memory I think all I need to do to make your code snippet 1.2 compatible is this: $q.when($animate.removeClass(scope.displayElements.popover, 'in')).then(function(){
Can you let me know which version of textAngular are you using please?
From the docs,
$animate.removeClass
now has a different syntax:removeClass(element, className, [options]);
(returns promise)textAngular passes a done callback which is never called, so the popup is not removed. To correct this, some modification like:
$animate.removeClass(scope.displayElements.popover, 'in').then(function(){
Would be needed, but I am not familiar with the testing framework used, and do not know how to make this also work for angular 1.2 cleanly.
As a sidenote, the animation classes seem to be missing from the copied CSS when running without bootstrap.
Cheers
The text was updated successfully, but these errors were encountered: