Revert "Save scroll state immediately before updating"

This reverts commit 4124a8dcff from PR https://github.com/matrix-org/matrix-react-sdk/pull/1076
pull/21833/head
Luke Barnard 2017-06-19 13:18:54 +01:00
父节点 55288ce9f2
当前提交 57f01b83be
共有 1 个文件被更改,包括 0 次插入4 次删除

查看文件

@ -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