Browse Source

Fix cancellation of scroll to the right (#4978)

pull/4/head
abcang 6 years ago
committed by Eugen Rochko
parent
commit
44245926f1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/javascript/mastodon/features/ui/components/columns_area.js

+ 1
- 1
app/javascript/mastodon/features/ui/components/columns_area.js View File

@ -78,7 +78,7 @@ export default class ColumnsArea extends ImmutablePureComponent {
handleChildrenContentChange() {
if (!this.props.singleColumn) {
scrollRight(this.node, this.node.scrollWidth - window.innerWidth);
this._interruptScrollAnimation = scrollRight(this.node, this.node.scrollWidth - window.innerWidth);
}
}

Loading…
Cancel
Save