mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-09 06:06:19 +02:00
Revert "Save scroll state immediately before updating"
This reverts commit 4124a8dcffe40287c3c2537d7cc2bbe3713d1f7a from PR https://github.com/matrix-org/matrix-react-sdk/pull/1076
This commit is contained in:
parent
55288ce9f2
commit
57f01b83be
@ -160,10 +160,6 @@ module.exports = React.createClass({
|
||||
this.checkFillState();
|
||||
},
|
||||
|
||||
componentWillUpdate: function(nextProps, nextState) {
|
||||
this._saveScrollState();
|
||||
},
|
||||
|
||||
componentDidUpdate: function() {
|
||||
// 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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user