mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-20 05:44:01 +00:00
Fix cancellation of scroll to the right (#4978)
This commit is contained in:
parent
8811778b55
commit
44245926f1
|
@ -78,7 +78,7 @@ export default class ColumnsArea extends ImmutablePureComponent {
|
||||||
|
|
||||||
handleChildrenContentChange() {
|
handleChildrenContentChange() {
|
||||||
if (!this.props.singleColumn) {
|
if (!this.props.singleColumn) {
|
||||||
scrollRight(this.node, this.node.scrollWidth - window.innerWidth);
|
this._interruptScrollAnimation = scrollRight(this.node, this.node.scrollWidth - window.innerWidth);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue