diff --git a/src/scripts/Native.js b/src/scripts/Native.js index 528c818d..1f317338 100644 --- a/src/scripts/Native.js +++ b/src/scripts/Native.js @@ -30,8 +30,6 @@ export default class extends Core { } checkScroll() { - super.checkScroll(); - if (this.getDirection) { this.addDirection(); } @@ -43,6 +41,8 @@ export default class extends Core { this.instance.scroll.y = window.pageYOffset; + super.checkScroll(); + if (Object.entries(this.els).length) { if (!this.hasScrollTicking) { requestAnimationFrame(() => {