Skip to content

High performance self-hosted photo and video management solution.

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

Alex520a70891b0e
diff --git a/web/src/lib/components/shared-components/search-bar/SearchFilters.svelte b/web/src/lib/components/shared-components/search-bar/SearchFilters.svelte
index dfd46b94d4..ab74aafb48 100644
--- a/web/src/lib/components/shared-components/search-bar/SearchFilters.svelte
+++ b/web/src/lib/components/shared-components/search-bar/SearchFilters.svelte
@@ -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}