make sure the min-height doesn't get cleared by checkScroll
This commit is contained in:
parent
3823642863
commit
db7203ed71
1 changed files with 1 additions and 1 deletions
|
@ -635,9 +635,9 @@ module.exports = React.createClass({
|
||||||
_onTypingVisible: function() {
|
_onTypingVisible: function() {
|
||||||
const scrollPanel = this.refs.scrollPanel;
|
const scrollPanel = this.refs.scrollPanel;
|
||||||
if (scrollPanel && scrollPanel.getScrollState().stuckAtBottom) {
|
if (scrollPanel && scrollPanel.getScrollState().stuckAtBottom) {
|
||||||
scrollPanel.blockShrinking();
|
|
||||||
// scroll down if at bottom
|
// scroll down if at bottom
|
||||||
scrollPanel.checkScroll();
|
scrollPanel.checkScroll();
|
||||||
|
scrollPanel.blockShrinking();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue