mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-22 06:43:19 +00:00
fix columns_area.js (#4528)
This commit is contained in:
parent
61a06eb328
commit
5ee45fa571
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue