Compare commits

...

1 Commits

Author SHA1 Message Date
Andrew Henry
a8ebf3d00c Some experimentation resulting in slightly lower CPU usage, but broken scrolling 2019-03-29 12:57:32 -07:00

View File

@@ -432,9 +432,9 @@ export default {
shouldSnapToBottom() {
return this.scrollable.scrollTop >= (this.scrollable.scrollHeight - this.scrollable.offsetHeight - AUTO_SCROLL_TRIGGER_HEIGHT);
},
scrollToBottom() {
scrollToBottom: _.throttle(function() {
this.scrollable.scrollTop = this.scrollable.scrollHeight;
},
}, 100),
synchronizeScrollX() {
this.headersHolderEl.scrollLeft = this.scrollable.scrollLeft;
},