Tooltip bug with angular 1.3
When migrating to angular 1.3 tooltip stops showing. It seems like the element does show on the DOM but its class attribute does not contain required classes in order to change opacity (so opacity stays 0).
@ozdavid3 we will need a minimal reproduction scenario to make this one actionable: https://github.com/angular-ui/bootstrap/blob/master/CONTRIBUTING.md#you-think-youve-found-a-bug
I saw this too. Its actually happens when you include the ngAnimate in angular 1.3: http://plnkr.co/edit/fqqEH3bJcvwTtlnIKyxl
Oddly doesn't effect popovers
This is a minimal reproduction scenario of this bug: http://plnkr.co/edit/bYD4roQL9q1CvsuL6dk4?p=preview
I also noticed this, and quick fix is to remove the ngAnimate until this is resolved.
In addition, setting tooltip-animation to false also works around this bug.
Thanks for the workaround suggestion @jgrund! The project is way beyond disabling ngAnimate so this is a welcome fix.
@jgrund thanks, better fix than disabling ngAnimate. I disabled tooltiop animation globally via $tooltipProvider
// ui-bootstrap tooltip animation is broken using angular 1.3
app.config(['$tooltipProvider', function($tooltipProvider) {
$tooltipProvider.options({animation: false});
}]);
is a temporary workaround, thanks to @imjusd
Seems the bug has already been fixed with issue #2825
@t4gedieb that change did work on my project. Though the tooltip takes longer to fade out once the mouse leaves than my previous build with Angular 1.2.6.
The animation fix works just for angular 1.3.0, but not anymore for angular 1.3.1
@patrickstubner the animation fix isn't required while using angular 1.3.0, and the tooltip doesn't work at all in 1.3.1. http://plnkr.co/edit/suXHNvaqcuTiCxXrrmoC?p=preview (using angular 1.3.1, broken) http://plnkr.co/edit/JcL4iCURMBbYZFhcfLTo?p=preview (using angular 1.3.0, works)
@yonatang use ngAnimate in your app and you will need the in angular 1.3.0. And yes, with angular1.3.1 it's not working at all.
I've looked into the issue for AngularJS 1.3.1. It'll be resolved when I merge #1817. Details are on https://github.com/angular-ui/bootstrap/pull/1600#issuecomment-61393922 .
This seemed to already be resolved on master: http://plnkr.co/edit/bQaZ4z5BFwfAZSzRa2Hq?p=preview
Nice, hope that the next tag will be up soon, 0.11.3?
+1 for 0.11.3 and fixes for tooltips
+1 for 0.11.3
:+1:
+1 :coffee: