Fix cancellation of scroll to the right (#4978)

This commit is contained in:
abcang 2017-09-17 18:59:23 +09:00 committed by Eugen Rochko
parent dde43a9e32
commit 5d0e6410c4

View file

@ -78,7 +78,7 @@ export default class ColumnsArea extends ImmutablePureComponent {
handleChildrenContentChange() {
if (!this.props.singleColumn) {
scrollRight(this.node, this.node.scrollWidth - window.innerWidth);
this._interruptScrollAnimation = scrollRight(this.node, this.node.scrollWidth - window.innerWidth);
}
}