title: Foundation off-canvas scrollbar and content display with wide primary content
body: <p>I've encountered an issue trying to use the Off-Canvas functionality of Foundation 6.2.0 when the content in the primary display area is overly wide.  In most cases, the content will wrap, but if you're displaying content incapable of wrapping (such as a table or an image), I'd expect the horizontal scroll-bar at the bottom of the screen to allow me to scroll sideways to reveal the rest of the content.</p>
  
  <p>This doesn't seem to be the case, and that content is hidden.</p>
  
  <p>Additionally, if the content for the main panel exceeds the screen with, and you're using an offset-canvas that slides in from the right side of the screen, the contents of this panel are hidden my the overlay of the primary panel upon sliding the right-panel open.</p>
  
  <p>I've <a href="https://jsfiddle.net/uptown/ytw4pLm4/3/" rel="nofollow">linked a JSFiddle showing this problem</a> since it renders as I'm seeing it in the browser. I haven't been able to get the Stack Overflow code runner to work properly.  Use both the scrollbar on the bottom and the "Right" button to show both problems.</p>
  
  <p>Does anyone know how to get Foundation to accommodate layout when the content of the primary container is wider than the screen, and unable to wrap?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$(document).foundation();</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="off-canvas-wrapper"&gt;
    &lt;div class="off-canvas-wrapper-inner" data-off-canvas-wrapper&gt;
  
      &lt;div class="off-canvas position-left" id="offCanvasLeft" data-off-canvas&gt;abcd&lt;/div&gt;
      &lt;div class="off-canvas position-right" id="offCanvasRight" data-off-canvas data-position="right"&gt;abcd&lt;/div&gt;
  
      &lt;div class="off-canvas position-top" id="offCanvasTop" data-off-canvas data-position="top"&gt;top&lt;/div&gt;
      &lt;div class="off-canvas-content" data-off-canvas-content&gt;
        &lt;div class="wrap"&gt;
          &lt;main&gt;
            &lt;aside&gt;
  
              &lt;br/&gt;
              &lt;br/&gt;
              &lt;br/&gt;
              &lt;button type="button" class="button" data-toggle="offCanvasLeft"&gt;Left&lt;/button&gt;
              &lt;button type="button" class="button" data-toggle="offCanvasRight"&gt;Right&lt;/button&gt;
            &lt;/aside&gt;
  
            &lt;article style="overflow-x:scroll;overflow-y:auto;"&gt;
              &lt;div class="row" id="primary_nav"&gt;
                &lt;p&gt;Title&lt;/p&gt;
              &lt;/div&gt;
              &lt;div class="row" id="secondary_nav"&gt;
                &lt;div class="large-12 columns"&gt;
                  &lt;div&gt;
                    &lt;ul&gt;
                      &lt;li&gt;&lt;a href="#/menu1" class="active"&gt;Menu1&lt;/a&gt;&lt;/li&gt;
                      &lt;li&gt;&lt;a href="#/menu2"&gt;Menu2&lt;/a&gt;&lt;/li&gt;
                      &lt;li&gt;&lt;a href="#/menu3"&gt;Menu3&lt;/a&gt;&lt;/li&gt;
                    &lt;/ul&gt;
                  &lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
              &lt;div class="row"&gt;
                &lt;div class="large-8 columns" id="container"&gt;
  
  
                  &lt;table style="width:5000px;"&gt;
                    &lt;tr&gt;
                      &lt;td&gt;
                        This is an example of a page which shows the Foundation off-canvas behavior. Only it contains content which exceeds the horizontal with of the display. I'd expect the scroll-bar at the bottom of the pane to match the content of the middle panel so tha
                        scrolling would reveal the content. I'd also expect sliding the right panel out to adjust for the extended width of the center panel. This doesn't seem to be the case.
                      &lt;/td&gt;
                    &lt;/tr&gt;
                  &lt;/table&gt;
  
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
                  &lt;br/&gt;efwpihfgwofgwofgogfow3gfow
  
  
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/article&gt;
  
          &lt;/main&gt;
        &lt;/div&gt;
  
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  
     </code></pre>
  </div>
  </div>
  </p>