fix error when single columns mode. (#4734)

This commit is contained in:
MitarashiDango 2017-08-29 23:11:28 +09:00 committed by Eugen Rochko
parent 3135d20283
commit 5a1614ce9b

View file

@ -57,7 +57,9 @@ export default class ColumnsArea extends ImmutablePureComponent {
} }
handleChildrenContentChange() { handleChildrenContentChange() {
scrollRight(this.node); if (!this.props.singleColumn) {
scrollRight(this.node);
}
} }
handleSwipe = (index) => { handleSwipe = (index) => {