From ef9efc9c755af9fbcb3195e238563638ddc438f6 Mon Sep 17 00:00:00 2001 From: PikachuEXE Date: Tue, 2 Nov 2021 19:37:38 +0800 Subject: [PATCH] ! Fix user fav list having "scroll to top" effect when "load more" clicked (#1854) --- .../views/UserPlaylists/UserPlaylists.js | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/renderer/views/UserPlaylists/UserPlaylists.js b/src/renderer/views/UserPlaylists/UserPlaylists.js index ac88c437..eefe53f7 100644 --- a/src/renderer/views/UserPlaylists/UserPlaylists.js +++ b/src/renderer/views/UserPlaylists/UserPlaylists.js @@ -37,12 +37,16 @@ export default Vue.extend({ } }, watch: { - activeData() { - this.isLoading = true - setTimeout(() => { - this.isLoading = false - }, 100) - } + // This implementation of loading effect + // causes "scroll to top" side effect which is reported as a bug + // https://github.com/FreeTubeApp/FreeTube/issues/1507 + // + // activeData() { + // this.isLoading = true + // setTimeout(() => { + // this.isLoading = false + // }, 100) + // } }, mounted: function () { const limit = sessionStorage.getItem('favoritesLimit')