make sure the min-height doesn't get cleared by checkScroll

pull/21833/head
Bruno Windels 2019-02-22 14:48:33 +01:00
parent 3823642863
commit db7203ed71
1 changed files with 1 additions and 1 deletions

View File

@ -635,9 +635,9 @@ module.exports = React.createClass({
_onTypingVisible: function() {
const scrollPanel = this.refs.scrollPanel;
if (scrollPanel && scrollPanel.getScrollState().stuckAtBottom) {
scrollPanel.blockShrinking();
// scroll down if at bottom
scrollPanel.checkScroll();
scrollPanel.blockShrinking();
}
},