Merge pull request #219 from nickago/scrollBug
Fixes RHS scrolling into whitespace on new comment open
Этот коммит содержится в:
@@ -293,6 +293,8 @@ module.exports = React.createClass({
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
componentDidUpdate: function() {
|
componentDidUpdate: function() {
|
||||||
|
$(".post-right__scroll").scrollTop($(".post-right__scroll")[0].scrollHeight);
|
||||||
|
$(".post-right__scroll").perfectScrollbar('update');
|
||||||
this.resize();
|
this.resize();
|
||||||
},
|
},
|
||||||
componentWillUnmount: function() {
|
componentWillUnmount: function() {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user