[Koha-bugs] [Bug 32474] Implement infinite scroll in vue-select

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 27 16:42:28 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32474

--- Comment #22 from Matt Blenkinsop <matt.blenkinsop at ptfs-europe.com> ---
(In reply to Jonathan Druart from comment #19)
> Additional notes:
> * It would be interesting to have a delay between the requests

I've added a setTimeout for 2 seconds between the requests

> * We are retrieving the 20 first license when clicking the "Add new license"
> button and when opening the dropdown list. Seems like there is an extra one,
> is it hiding something?

This is now fixed, originally I need to pre-fill the data in the component to
make the pagination work but I've solved that issue and it now loads the data
only when its opened

> * About the scrollbar hitting top when scrolling down, did you have a look
> at 'more'? https://select2.org/data-sources/ajax#pagination

There isn't a similar functionality for v-select, I'm trying a different method
using v-autocomplete as a second option. I'll try and finish that before I go
on holiday and see if it offers any improvement

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list