title: querySelector event listener `scroll`
body: <p>I am trying to understand why <code>scroll</code> event listener of <code>querySelector</code> element doesn't work here</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>document.querySelector('.test-scroll')
    .addEventListener('scroll', function() {
      alert('Scroll');
    }, false);</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.test-scroll {
    height: 2000px;
    overflow-x: none;
    overflow-y: scroll;
    border: 1px solid #000;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="test-scroll"&gt;&amp;nbsp;&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>