Skip to content
Snippets Groups Projects
Commit 5ee45fa5 authored by MitarashiDango's avatar MitarashiDango Committed by Eugen Rochko
Browse files

fix columns_area.js (#4528)

parent 61a06eb3
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ export default class ColumnsArea extends ImmutablePureComponent {
this.lastIndex = getIndex(this.context.router.history.location.pathname);
this.setState({ shouldAnimate: true });
if (this.props.children !== prevProps.children) {
if (this.props.children !== prevProps.children && !this.props.singleColumn) {
scrollRight(this.node);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment