mirror of
https://github.com/jellyfin/jellyfin-vue.git
synced 2025-03-02 19:08:59 +00:00
feat(library): make virtual scroll buffer reactive to window height
The virtual scroller now uses the windows's height times 1.5 as the size of the buffer. This loads 13 rows of 8 items on a 1920x1080 screen, further reducing pop-in when scrolling fast. The multiplier is expected to be adjusted through testing on more devices down the line.
This commit is contained in:
parent
34f6118767
commit
071da486b6
@ -10,7 +10,7 @@
|
||||
class="scroller"
|
||||
:items="itemsChunks"
|
||||
:min-item-size="350"
|
||||
:buffer="600"
|
||||
:buffer="$vuetify.breakpoint.height * 1.5"
|
||||
page-mode
|
||||
>
|
||||
<template v-slot="{ item, index, active }">
|
||||
|
Loading…
x
Reference in New Issue
Block a user