fix columns_area.js (#4528)
parent
50cc4ee027
commit
ad1065cbc5
|
@ -55,7 +55,7 @@ export default class ColumnsArea extends ImmutablePureComponent {
|
||||||
this.lastIndex = getIndex(this.context.router.history.location.pathname);
|
this.lastIndex = getIndex(this.context.router.history.location.pathname);
|
||||||
this.setState({ shouldAnimate: true });
|
this.setState({ shouldAnimate: true });
|
||||||
|
|
||||||
if (this.props.children !== prevProps.children) {
|
if (this.props.children !== prevProps.children && !this.props.singleColumn) {
|
||||||
scrollRight(this.node);
|
scrollRight(this.node);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue