Skip to content

Commit 77aba96

Browse files
45kbwouldgo
authored andcommitted
hidden before to find position on smart option
1 parent e0e8498 commit 77aba96

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/angular-tooltips.js

+3
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,8 @@
269269
element.addClass('active');
270270
}
271271

272+
tipElement.addClass('_hidden');
273+
272274
if (attrs.tooltipSmart) {
273275

274276
tipElement.css({
@@ -434,6 +436,7 @@
434436
}
435437
}
436438
}
439+
tipElement.removeClass('_hidden');
437440
}
438441
, onTooltipHide = function onTooltipHide() {
439442

0 commit comments

Comments
 (0)