<p dir="auto">Opening a modal shifts the page layout left by adding the class <code class="notranslate">.modal-open</code> to <code class="notranslate">body</code>.</p>
<p dir="auto"><code class="notranslate">body.modal-open</code> has: <code class="notranslate">padding-right: 13px;</code></p>
<p dir="auto">Environment:</p>
<ul dir="auto">
<li>Bootstrap 3.2.0</li>
<li>Firefox 32.0 (Linux)</li>
</ul>
<p dir="auto">re: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="18248472" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/9855" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/9855/hovercard" href="https://github.com/twbs/bootstrap/issues/9855">#9855</a><br>
in 3.2.0, when body has a scrollbar, it's content now stays in place when modal is opened (padding is added to the body).<br>
But fixed top navbar, having position: fixed, left: 0 and right: 0, now jumps to the right when modal is opened, as it ignores padding-right on the body.</p>