title: ReactJS - Window.ScrollTo() not working on secondary scroll bar
body: <p>For my ReactJS project I have a simple text list (using <code>&lt;ul&gt;</code> and <code>&lt;li&gt;</code> tags), which has it's own scroll bar to navigate through the list, but not the whole page. I was able to do this with this css code:</p>
  
  <pre><code>    #List-container {
          max-height: 425px;
          overflow: hidden;
          overflow-y: scroll;
      }
  </code></pre>
  
  <p>For my project, I need it to automatically scroll down to the bottom of the list. I tried using <code>window.scrollTo()</code>but it's not working, which I'm pretty sure is because of the fact that there is a secondary scroll bar.</p>
  
  <p>Does anyone know how I could use <code>window.ScrollTo()</code>, or know any alternatives?</p>
  
  <p>Thanks in advance!</p>