Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit b413a22

Browse files
RobJacobswesleycho
authored andcommitted
fix(tooltip): add display block to style
- Adds style override to fix `display: none` being set by Bootstrap's CSS Closes #4363 Closes #4379
1 parent 9d80066 commit b413a22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tooltip/tooltip.js

+2-2
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)