There was an error while loading. Please reload this page.
1 parent 790e752 commit 9e260adCopy full SHA for 9e260ad
src/components/structures/ScrollPanel.js
@@ -215,7 +215,9 @@ module.exports = React.createClass({
215
// this might cause the scrollbar to resize in case the max-height was not correct
216
// but that's better than ending up with a lot of whitespace at the bottom of the timeline.
217
// we need to above check because when showing the typing notifs, an onScroll event is also triggered
218
- this.clearBlockShrinking();
+ if (!this.isAtBottom()) {
219
+ this.clearBlockShrinking();
220
+ }
221
222
this._saveScrollState();
223
} else {
0 commit comments