back out hacky previous commit as #946 only happens when gemini is disabled

pull/21833/head
Matthew Hodgson 2016-02-16 19:39:22 +00:00
parent 34d0fc890a
commit 38a2a61b38
1 changed files with 1 additions and 3 deletions

View File

@ -418,9 +418,7 @@ module.exports = React.createClass({
var scrollState = this.scrollState;
var scrollNode = this._getScrollNode();
// XXX: DISABLE SCROLL TO TOKEN ENTIRELY TEMPORARILY AS IT'S SCREWING
// UP MY DEMO - see https://github.com/vector-im/vector-web/issues/946
if (true || scrollState.stuckAtBottom) {
if (scrollState.stuckAtBottom) {
scrollNode.scrollTop = scrollNode.scrollHeight;
debuglog("Scrolled to bottom; offset now", scrollNode.scrollTop);
} else if (scrollState.trackedScrollToken) {