mirror of
https://github.com/immich-app/immich.git
synced 2025-04-14 12:06:25 +02:00
fix: place suggestions not clickable in asset set location modal (#16104)
Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
parent
4f912de018
commit
411f96ef49
1 changed files with 7 additions and 5 deletions
|
@ -109,10 +109,7 @@
|
||||||
<div class="flex flex-col w-full h-full gap-2">
|
<div class="flex flex-col w-full h-full gap-2">
|
||||||
<div class="relative w-64 sm:w-96">
|
<div class="relative w-64 sm:w-96">
|
||||||
{#if suggestionContainer}
|
{#if suggestionContainer}
|
||||||
<div
|
<div use:listNavigation={suggestionContainer}>
|
||||||
use:clickOutside={{ onOutclick: () => (hideSuggestion = true) }}
|
|
||||||
use:listNavigation={suggestionContainer}
|
|
||||||
>
|
|
||||||
<button type="button" class="w-full" onclick={() => (hideSuggestion = false)}>
|
<button type="button" class="w-full" onclick={() => (hideSuggestion = false)}>
|
||||||
<SearchBar
|
<SearchBar
|
||||||
placeholder={$t('search_places')}
|
placeholder={$t('search_places')}
|
||||||
|
@ -126,7 +123,12 @@
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<div class="absolute z-[99] w-full" id="suggestion" bind:this={suggestionContainer}>
|
<div
|
||||||
|
class="absolute z-[99] w-full"
|
||||||
|
id="suggestion"
|
||||||
|
bind:this={suggestionContainer}
|
||||||
|
use:clickOutside={{ onOutclick: () => (hideSuggestion = true) }}
|
||||||
|
>
|
||||||
{#if !hideSuggestion}
|
{#if !hideSuggestion}
|
||||||
{#each suggestedPlaces as place, index}
|
{#each suggestedPlaces as place, index}
|
||||||
<button
|
<button
|
||||||
|
|
Loading…
Add table
Reference in a new issue