Automatically place bootstrap tooltip in div with overflow-y

I have twitter-bootstrap hints on links in a div. The div has an overflow-y set to auto. My problem is that the placement: "auto top" is not respected relative to the top of the div. If I scroll down the page (to place the div at the top of the browser), the placement is automatically set. In short, I am wondering if it is possible to get a hint to react to the top of the div, and not to the top of the page.

That's how I start it ...

$("#"+caller).tooltip({html:true,title:resultString,placement:'auto top'});
+3
source share
2 answers

, :) ...

.tooltip{
        position:fixed;
}
+4

:

.tooltip{
        position:fixed;
}


"data-toggle="tooltip" title="Title" data-container="body"
-1

All Articles