title: Overflow auto not working with justify-content: flex-end
body: <p>I'm trying to get an element to have items aligned to the right, and all overflowing elements to be hidden but accessed by scrollbar.</p>
  
  <p>But it seems like the scrollbar disappears when specifying <code>justify-content: flex-end</code>. Why is that, and how do I fix it?</p>
  
  <p>Here is demo: <a href="https://jsfiddle.net/efguz4mp/1/" rel="noreferrer">https://jsfiddle.net/efguz4mp/1/</a></p>
  
  <p><div class="snippet" data-lang="js" data-hide="true" data-console="true" data-babel="false">
  <div class="snippet-code snippet-currently-hidden">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.row {
    width: 100%;
    max-width: 500px;
    background: #DADADA;
    display: flex;
    overflow: auto;
    justify-content: flex-end;
  }
  
  .box {
    width: 200px;
    height: 40px;
    margin: 4px 10px;
    background: red;
    flex-shrink: 0;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="row"&gt;
    &lt;div class="box"&gt;&lt;/div&gt;
    &lt;div class="box"&gt;&lt;/div&gt;
    &lt;div class="box"&gt;&lt;/div&gt;
    &lt;div class="box"&gt;&lt;/div&gt;
    &lt;div class="box"&gt;&lt;/div&gt;
    &lt;div class="box"&gt;&lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>...and here is demo without <code>justify-content: flex-end;</code>: <a href="https://jsfiddle.net/efguz4mp" rel="noreferrer">https://jsfiddle.net/efguz4mp</a></p>
  
  <p><div class="snippet" data-lang="js" data-hide="true" data-console="true" data-babel="false">
  <div class="snippet-code snippet-currently-hidden">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.row {
    width: 100%;
    max-width: 500px;
    background: #DADADA;
    display: flex;
    overflow: auto;
  }
  
  .box {
    width: 200px;
    height: 40px;
    margin: 4px 10px;
    background: red;
    flex-shrink: 0;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="row"&gt;
    &lt;div class="box"&gt;&lt;/div&gt;
    &lt;div class="box"&gt;&lt;/div&gt;
    &lt;div class="box"&gt;&lt;/div&gt;
    &lt;div class="box"&gt;&lt;/div&gt;
    &lt;div class="box"&gt;&lt;/div&gt;
    &lt;div class="box"&gt;&lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>