From f5de73de8fa6ca573fdc254ad0f58aa980562bab Mon Sep 17 00:00:00 2001 From: mertsincan Date: Wed, 12 May 2021 13:47:59 +0300 Subject: [PATCH 1/2] Fixed #726 - ScrollPanel: Cannot read property 'classList' of null --- src/components/scrollpanel/ScrollPanel.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/scrollpanel/ScrollPanel.vue b/src/components/scrollpanel/ScrollPanel.vue index 7a6287bd5..46ea0a6a3 100644 --- a/src/components/scrollpanel/ScrollPanel.vue +++ b/src/components/scrollpanel/ScrollPanel.vue @@ -153,7 +153,7 @@ export default { }, requestAnimationFrame(f) { let frame = window.requestAnimationFrame || this.timeoutFrame; - frame(f); + return frame(f); }, refresh() { this.moveBar(); From ef21283bf4fb11417a885937775e49c6e597475f Mon Sep 17 00:00:00 2001 From: mertsincan Date: Wed, 12 May 2021 13:48:53 +0300 Subject: [PATCH 2/2] Revert "Fixed #726 - ScrollPanel: Cannot read property 'classList' of null" This reverts commit f5de73de8fa6ca573fdc254ad0f58aa980562bab. --- src/components/scrollpanel/ScrollPanel.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/scrollpanel/ScrollPanel.vue b/src/components/scrollpanel/ScrollPanel.vue index 46ea0a6a3..7a6287bd5 100644 --- a/src/components/scrollpanel/ScrollPanel.vue +++ b/src/components/scrollpanel/ScrollPanel.vue @@ -153,7 +153,7 @@ export default { }, requestAnimationFrame(f) { let frame = window.requestAnimationFrame || this.timeoutFrame; - return frame(f); + frame(f); }, refresh() { this.moveBar();