Minor fix to timeline jump avoiding behavior

th-downstream
Thibaut Girka 6 years ago committed by ThibG
parent 7b23d3c657
commit eb6dfe4d8b

@ -129,7 +129,7 @@ export default class ScrollableList extends PureComponent {
}
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};
} else {
return null;

Loading…
Cancel
Save