title: Auto-scroll in div with React
body: <p>Having a <code>div</code> with dynamic logs content (<code>props.logs</code>), How can I auto scroll to the bottom?</p>
  <pre><code>  &lt;div className='rc_logsContent' ref={logsRef}&gt;
      &lt;Collapse isOpened={isOpened} &gt;
         &lt;p
           dangerouslySetInnerHTML={{__html: formatNote(props.logs)}}
         /&gt;
      &lt;/Collapse&gt;
    &lt;/div&gt; 
  </code></pre>