<p dir="auto">Steps to reproduce this issue:</p>
<ol dir="auto">
<li>Go to: <a href="http://twitter.github.com/bootstrap/javascript.html#modals">http://twitter.github.com/bootstrap/javascript.html#modals</a></li>
<li>Click: <code class="notranslate">Launch demo modal</code></li>
<li>Click: <code class="notranslate">button</code> at the <strong>Popover in a modal</strong> section.</li>
<li><em>Scroll</em> the modal's content</li>
</ol>
<p dir="auto">What happens:<br>
Popover gets stuck, doesn't "follow" the <code class="notranslate">button</code></p>
<p dir="auto">What should happen:<br>
The same behavior found here: <a href="http://twitter.github.com/bootstrap/javascript.html#popovers">http://twitter.github.com/bootstrap/javascript.html#popovers</a> (<code class="notranslate">Click to toggle popover</code> + <em>scroll</em> the page)</p>
<p dir="auto">Hope it helps :)</p>
<p dir="auto">The popover remains at the same position relative to the page and does not respect the position of the element it was initialized on. Below are two screenshots of the issue reproduced at <a href="http://twitter.github.com/bootstrap/javascript.html#modals">http://twitter.github.com/bootstrap/javascript.html#modals</a> (message me please if the links become broken).</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/221933b53baa341559aebd3686b5377d4f37be7ba8486e5ac7eb68027546fcfb/687474703a2f2f696d616765706c61792e6e65742f696d672f74796132323238303937332f7363722e747769747465725f626f6f7473747261705f325f2e315f2e302e706e67"><img src="https://camo.githubusercontent.com/221933b53baa341559aebd3686b5377d4f37be7ba8486e5ac7eb68027546fcfb/687474703a2f2f696d616765706c61792e6e65742f696d672f74796132323238303937332f7363722e747769747465725f626f6f7473747261705f325f2e315f2e302e706e67" alt="Scroll the page" data-canonical-src="http://imageplay.net/img/tya22280973/scr.twitter_bootstrap_2_.1_.0.png" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/47b9f1ecfbeb2889f344e2bff5b735503655999b7fd82c511f8f832488b5fa50/687474703a2f2f696d616765706c61792e6e65742f696d672f74796132323238303937342f7363722e747769747465725f626f6f7473747261705f325f2e315f2e302e706e67"><img src="https://camo.githubusercontent.com/47b9f1ecfbeb2889f344e2bff5b735503655999b7fd82c511f8f832488b5fa50/687474703a2f2f696d616765706c61792e6e65742f696d672f74796132323238303937342f7363722e747769747465725f626f6f7473747261705f325f2e315f2e302e706e67" alt="Scroll the block" data-canonical-src="http://imageplay.net/img/tya22280974/scr.twitter_bootstrap_2_.1_.0.png" style="max-width: 100%;"></a></p>