mirror of
https://github.com/mattermost/mattermost.git
synced 2026-09-24 16:05:00 +08:00
Merge pull request #219 from nickago/scrollBug
Fixes RHS scrolling into whitespace on new comment open
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user