From a6b93d5ecc4d770700ccaf9505902e3f608bf102 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 Signed-off-by: Jonathan Druart --- .../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.34.1