diff --git a/package.json b/package.json index 261a586..0f93841 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "lineupengine", "description": "a fast engine for rendering large tables consisting of rows, rows+columns, multiple rows+columns instances.", "homepage": "https://lineupengine.js.org", - "version": "2.3.0", + "version": "2.4.0", "author": { "name": "Samuel Gratzl", "email": "sam@sgratzl.com", diff --git a/src/internal/scroll.ts b/src/internal/scroll.ts index fb0d3ff..113cd40 100644 --- a/src/internal/scroll.ts +++ b/src/internal/scroll.ts @@ -100,9 +100,8 @@ class ScrollHandler { if (handler.handler.length === 0) { return; } - // eslint-disable-next-line no-restricted-globals - // eslint-disable-next-line no-param-reassign - handler.timer = setTimeout(() => { + // eslint-disable-next-line no-param-reassign, no-restricted-globals + handler.timer = self.setTimeout(() => { this.handle(handler); // eslint-disable-next-line no-param-reassign handler.timer = -1;