Minor fix to timeline jump avoiding behavior
This commit is contained in:
parent
7b23d3c657
commit
eb6dfe4d8b
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ export default class ScrollableList extends PureComponent {
|
||||||
}
|
}
|
||||||
|
|
||||||
getScrollPosition = () => {
|
getScrollPosition = () => {
|
||||||
if (this.node && this.node.scrollTop > 0) {
|
if (this.node && (this.node.scrollTop > 0 || this.mouseMovedRecently)) {
|
||||||
return {height: this.node.scrollHeight, top: this.node.scrollTop};
|
return {height: this.node.scrollHeight, top: this.node.scrollTop};
|
||||||
} else {
|
} else {
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in a new issue