mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-12 03:07:41 +03:00
Revert "Save scroll state immediately before updating"
This reverts commit 4124a8dcff
from PR https://github.com/matrix-org/matrix-react-sdk/pull/1076
This commit is contained in:
parent
55288ce9f2
commit
57f01b83be
1 changed files with 0 additions and 4 deletions
|
@ -160,10 +160,6 @@ module.exports = React.createClass({
|
||||||
this.checkFillState();
|
this.checkFillState();
|
||||||
},
|
},
|
||||||
|
|
||||||
componentWillUpdate: function(nextProps, nextState) {
|
|
||||||
this._saveScrollState();
|
|
||||||
},
|
|
||||||
|
|
||||||
componentDidUpdate: function() {
|
componentDidUpdate: function() {
|
||||||
// after adding event tiles, we may need to tweak the scroll (either to
|
// after adding event tiles, we may need to tweak the scroll (either to
|
||||||
// keep at the bottom of the timeline, or to maintain the view after
|
// keep at the bottom of the timeline, or to maintain the view after
|
||||||
|
|
Loading…
Reference in a new issue