mirror of https://github.com/vector-im/riot-web
make sure we're at the bottom, although that seems to always be the case in this branch?
parent
790e752b7a
commit
9e260ad96b
|
@ -215,7 +215,9 @@ module.exports = React.createClass({
|
|||
// this might cause the scrollbar to resize in case the max-height was not correct
|
||||
// but that's better than ending up with a lot of whitespace at the bottom of the timeline.
|
||||
// we need to above check because when showing the typing notifs, an onScroll event is also triggered
|
||||
this.clearBlockShrinking();
|
||||
if (!this.isAtBottom()) {
|
||||
this.clearBlockShrinking();
|
||||
}
|
||||
|
||||
this._saveScrollState();
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue