<p>The way it's intended to work is that the map never <em>visually</em> changes position when sidebars open or close -- i.e. the visual appearance is the same as if the sidebars were "covering up" portions of the map. But since what's actually happening is that the width of the map container is changing, accomplishing this means that the center of the map (in Leaflet terms) <em>does</em> have to change. In other words: visually speaking the map is staying put, but programmatically speaking it's moving.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/openstreetmap/openstreetmap-website/issues/729#issuecomment-106484745">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABWnLcVuCykAmSXQTam42Hfd8SkvnKaMks5oNz9vgaJpZM4BzTx0.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/openstreetmap/openstreetmap-website/issues/729#issuecomment-106484745"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>