Merge pull request #219 from nickago/scrollBug

Fixes RHS scrolling into whitespace on new comment open
This commit is contained in:
Corey Hulen
2015-07-22 10:46:12 -08:00
+2
View File
@@ -293,6 +293,8 @@ module.exports = React.createClass({
});
},
componentDidUpdate: function() {
$(".post-right__scroll").scrollTop($(".post-right__scroll")[0].scrollHeight);
$(".post-right__scroll").perfectScrollbar('update');
this.resize();
},
componentWillUnmount: function() {