From c3d34a74434e53eff7153a8d9148850578b1711d Mon Sep 17 00:00:00 2001 From: Matt Blenkinsop Date: Fri, 29 Sep 2023 15:08:02 +0000 Subject: [PATCH] Bug 32474: Fix scroll bump when new data loads This patch addresses an annoying scroll bump when new data loads. Previously the scrollbar would jump all the way to the top of the selct before resetting, this has now been stopped --- .../prog/js/vue/components/InfiniteScrollSelect.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/InfiniteScrollSelect.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/InfiniteScrollSelect.vue index 2548f8fd8a6..b3571eb55b5 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/InfiniteScrollSelect.vue +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/InfiniteScrollSelect.vue @@ -161,6 +161,7 @@ export default { this.scrollPage++ await this.$nextTick() const client = APIClient.erm + ul.scrollTop = scrollTop await client[this.dataType] .getAll( {}, -- 2.37.1 (Apple Git-137.1)