High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(web): update search modal to not jump around (#16308)
Curtis Lowder128d653fc619
diff --git a/web/src/lib/components/shared-components/search-bar/search-people-section.svelte b/web/src/lib/components/shared-components/search-bar/search-people-section.svelteindex d06c4dc5c0..ed17d78af3 100644--- a/web/src/lib/components/shared-components/search-bar/search-people-section.svelte+++ b/web/src/lib/components/shared-components/search-bar/search-people-section.svelte@@ -10,6 +10,7 @@import { t } from 'svelte-i18n';import SingleGridRow from '$lib/components/shared-components/single-grid-row.svelte';import type { SvelteSet } from 'svelte/reactivity';+ import LoadingSpinner from '$lib/components/shared-components/loading-spinner.svelte';interface Props {selectedPeople: SvelteSet<string>;@@ -52,13 +53,17 @@};</script>-{#await peoplePromise then people}+{#await peoplePromise}+ <div id="spinner" class="flex h-60 items-center justify-center -mb-4">+ <LoadingSpinner size="24" />+ </div>+{:then people}{#if people && people.length > 0}{@const peopleList = showAllPeople? filterPeople(people, name): filterPeople(people, name).slice(0, numberOfPeople)}- <div id="people-selection" class="-mb-4">+ <div id="people-selection" class="h-60 -mb-4"><div class="flex items-center w-full justify-between gap-6"><p class="immich-form-label py-3">{$t('people').toUpperCase()}</p><SearchBar bind:name placeholder={$t('filter_people')} showLoadingSpinner={false} />