fix: gallery viewer sliding window offload assets (#17016)

* fix: gallery viewer sliding window offload assets

* fix: update bottom sliding window

* do not use negative

* Calculate offset before gallery

---------

Co-authored-by: Min Idzelis <min123@gmail.com>
This commit is contained in:
Alex
2025-03-20 22:30:01 -05:00
committed by GitHub
parent 21954939cf
commit dbc279f843
4 changed files with 60 additions and 40 deletions
@@ -368,6 +368,7 @@
onIntersected={loadNextPage}
showArchiveIcon={true}
{viewport}
pageHeaderOffset={54}
/>
{:else if !isLoading}
<div class="flex min-h-[calc(66vh_-_11rem)] w-full place-content-center items-center dark:text-white">