Merge pull request #237 from matrix-org/rav/scroll_jump
Only ignore scroll echoes oncepull/21833/head
commit
d000870668
|
@ -170,6 +170,10 @@ module.exports = React.createClass({
|
|||
this._saveScrollState();
|
||||
} else {
|
||||
debuglog("Ignoring scroll echo");
|
||||
|
||||
// only ignore the echo once, otherwise we'll get confused when the
|
||||
// user scrolls away from, and back to, the autoscroll point.
|
||||
this._lastSetScroll = undefined;
|
||||
}
|
||||
|
||||
this.props.onScroll(ev);
|
||||
|
|
Loading…
Reference in New Issue