mirror of https://github.com/vector-im/riot-web
make sure the min-height doesn't get cleared by checkScroll
parent
3823642863
commit
db7203ed71
|
@ -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();
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue