fix error when single columns mode. (#4734)
parent
3135d20283
commit
5a1614ce9b
|
@ -57,7 +57,9 @@ export default class ColumnsArea extends ImmutablePureComponent {
|
|||
}
|
||||
|
||||
handleChildrenContentChange() {
|
||||
scrollRight(this.node);
|
||||
if (!this.props.singleColumn) {
|
||||
scrollRight(this.node);
|
||||
}
|
||||
}
|
||||
|
||||
handleSwipe = (index) => {
|
||||
|
|
Loading…
Reference in New Issue