fix: prevent rendering the search filter scrollbar when not needed (#31776)

This commit is contained in:
Alex
2026-09-25 11:49:01 +02:00
committed by GitHub
parent 7622e95d6d
commit 520a70891b
@@ -191,7 +191,7 @@
{#if isOpen}
<div
transition:fly={{ y: 25, duration: 250 }}
class="absolute z-1 max-h-[80svh] w-full overflow-y-scroll rounded-b-3xl bg-white shadow-[0_8px_20px_rgba(0,0,0,0.12)] transition-all dark:bg-immich-dark-gray dark:text-gray-300"
class="absolute z-1 max-h-[80svh] w-full overflow-y-auto rounded-b-3xl bg-white shadow-[0_8px_20px_rgba(0,0,0,0.12)] transition-all dark:bg-immich-dark-gray dark:text-gray-300"
>
<SearchHistorySection
bind:this={searchHistory}