Bugzilla – Attachment 156474 Details for
Bug 32474
Implement infinite scroll in vue-select
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32474: Fix scroll bump when new data loads
Bug-32474-Fix-scroll-bump-when-new-data-loads.patch (text/plain), 1.26 KB, created by
Jonathan Druart
on 2023-10-03 06:52:41 UTC
(
hide
)
Description:
Bug 32474: Fix scroll bump when new data loads
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2023-10-03 06:52:41 UTC
Size:
1.26 KB
patch
obsolete
>From a6b93d5ecc4d770700ccaf9505902e3f608bf102 Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> >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 <jonathan.druart@bugs.koha-community.org> >--- > .../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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 32474
:
144614
|
144719
|
144720
|
145143
|
145144
|
145154
|
150030
|
150031
|
150282
|
150283
|
150284
|
150287
|
150305
|
150308
|
150309
|
153110
|
153111
|
153112
|
153113
|
154094
|
156410
|
156470
|
156471
|
156472
|
156473
|
156474
|
156475
|
156476
|
156477
|
156478
|
156479
|
156481
|
156482
|
156483
|
156504
|
156505
|
159327
|
159328
|
159329
|
159330
|
159340
|
159343
|
159386
|
159389
|
159395
|
159397
|
159398
|
159399
|
159400
|
159401
|
159402
|
159403
|
159404
|
159405
|
159406
|
159407
|
161724