title: Bootstrap tooltip in wrong position on initial hover, then in correct position
body: <p>I am using the tooltips from the twitter bootstrap on a div on a webpage. The tooltip is initialized, but on the first hover it is in the wrong position; however, on the subsequent hovers the tooltip is in the correct position.</p>
  
  <p>I think the problem is occurring because the div that the tooltip is attached to is absolutely positioned.</p>
  
  <p>Here is the div tag in my html:</p>
  
  <pre><code>&lt;div class="btn-group" id="sample-menu" data-toggle="tooltip" data-placement="left" title="Tooltip on left"&gt;
  </code></pre>
  
  <p>This is how the tooltip is displayed on the first hover:
  <a href="https://i.stack.imgur.com/loM5i.png" rel="noreferrer"><img src="https://i.stack.imgur.com/loM5i.png" alt="This is how the tooltip is displayed on the first hover"></a></p>
  
  <p>And here is how it is displayed on every hover after that:
  <a href="https://i.stack.imgur.com/Ly9i1.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Ly9i1.png" alt="And here is how it is displayed on every hover after that"></a></p>
  
  <p>(sizes are not changing just the screenshot crop size)</p>
  
  <p>The styles applied to the div are:</p>
  
  <pre><code>#sample-menu {
    position: absolute;
    top: 95px;
    right: 608px;
  }
  </code></pre>
  
  <p>I could probably position the div differently to get this to work, I am just wondering why the tooltip seems to work perfectly on the absolutely positioned div, but only after the first hover.</p>
  
  <p>** I added a few more tooltips on divs that aren't absolutely positioned and I have the same problem (first appearance of the tooltip is removed from my element, and then after the first appearance it is correct). I have an svg on the page with elements that are being added and sized with javascript (d3). It seems like I need to call something to reposition the tooltips after all page elements are added/sized, however, none of the Bootstrap Tooltip or Tether repositioning solutions have worked for me.</p>