mirror of https://github.com/mastodon/mastodon
fix error when single columns mode. (#4734)
This commit is contained in:
parent
4c76402ba1
commit
7be620775e
|
@ -57,8 +57,10 @@ export default class ColumnsArea extends ImmutablePureComponent {
|
|||
}
|
||||
|
||||
handleChildrenContentChange() {
|
||||
if (!this.props.singleColumn) {
|
||||
scrollRight(this.node);
|
||||
}
|
||||
}
|
||||
|
||||
handleSwipe = (index) => {
|
||||
this.pendingIndex = index;
|
||||
|
|
Loading…
Reference in New Issue