fix(web): make sliding window cover all visible space to show small number of assets (#23796)

pull/23582/head
Mees Frensel 2025-11-11 15:50:31 +07:00 committed by GitHub
parent 0b3633db4f
commit 905f4375b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

@ -99,7 +99,7 @@
let scrollTop = $state(0);
let slidingWindow = $derived.by(() => {
const top = (scrollTop || 0) - slidingWindowOffset;
const bottom = top + viewport.height;
const bottom = top + viewport.height + slidingWindowOffset;
return {
top,
bottom,