Skip to content

Commit 8512b9b

Browse files
RobJacobsjasonaden
authored andcommitted
fix(tooltip): add display block to style
- Adds style override to fix `display: none` being set by Bootstrap's CSS Closes angular-ui#4363 Closes angular-ui#4379
1 parent c7c303f commit 8512b9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tooltip/tooltip.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ angular.module('ui.bootstrap.tooltip', ['ui.bootstrap.position'])
110110
'animation="animation" '+
111111
'is-open="isOpen"'+
112112
'origin-scope="origScope" '+
113-
'style="visibility: hidden"'+
113+
'style="visibility: hidden; display: block;"'+
114114
'>'+
115115
'</div>';
116116

@@ -148,7 +148,7 @@ angular.module('ui.bootstrap.tooltip', ['ui.bootstrap.position'])
148148

149149
ttCss.width = ttBox.width + 'px';
150150
ttCss.height = ttBox.height + 'px';
151-
151+
152152
ttCss.visibility = 'visible';
153153

154154
// Now set the calculated positioning and size.

0 commit comments

Comments
 (0)