You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-24 06:02:08 +03:00
make sure we're at the bottom, although that seems to always be the case in this branch?
This commit is contained in:
@ -215,7 +215,9 @@ module.exports = React.createClass({
|
|||||||
// this might cause the scrollbar to resize in case the max-height was not correct
|
// 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.
|
// 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
|
// 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();
|
this._saveScrollState();
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user