mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-24 03:43:42 +01:00
fix error when single columns mode. (#4734)
This commit is contained in:
parent
4c76402ba1
commit
7be620775e
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue