title: scrollTop not working in react js
body: <p>I am using React with basic JavaScript. <em>scrollTop</em> seems not to be working at all. I am using the code below:</p>
  
  <pre><code>const node = ReactDOM.findDOMNode(this)
  const $container = node.getElementsByClassName('comments')
  $container[0].scrollTop = 10
  </code></pre>
  
  <p>After executing this code, <code>scrollTop</code> is not working. There is already working CSS in place, with all scrolling visible for the container element.</p>