fix error when single columns mode. (#4734)

main
MitarashiDango 2017-08-29 23:11:28 +09:00 committed by Eugen Rochko
parent 4c76402ba1
commit 7be620775e
1 changed files with 3 additions and 1 deletions

View File

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