fix error when single columns mode. (#4734)
This commit is contained in:
parent
3135d20283
commit
5a1614ce9b
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue