Use passive scroll listsener

This commit is contained in:
Thomas Weber committed 2021-06-24 14:09:00 -05:00
1 parent d76f613133
commit 2eb9ec75c6
1 file changed
+1 -1
+1 -1
View File
@@ -244,7 +244,7 @@ class ListMonitor extends Monitor {
this.rowsInner = document.createElement('div');
this.rowsInner.className = styles.monitorRowsInner;
this.rowsInner.addEventListener('scroll', this._onscroll.bind(this));
this.rowsInner.addEventListener('scroll', this._onscroll.bind(this), {passive: true});
this.endPoint = document.createElement('div');
this.endPoint.className = styles.monitorRowsEndpoint;