From f5de73de8fa6ca573fdc254ad0f58aa980562bab Mon Sep 17 00:00:00 2001 From: mertsincan Date: Wed, 12 May 2021 13:47:59 +0300 Subject: [PATCH] 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();