diff --git a/src/shared/ui/SearchBar/SearchBar.svelte b/src/shared/ui/SearchBar/SearchBar.svelte index 09abb16..a6f2d52 100644 --- a/src/shared/ui/SearchBar/SearchBar.svelte +++ b/src/shared/ui/SearchBar/SearchBar.svelte @@ -7,14 +7,8 @@ --> - - - {#snippet child({ props })} - {@const { onclick, ...rest } = props} - - {#if label} - {label} - {/if} - - - {/snippet} - - - e.preventDefault()} - onInteractOutside={(e => { - if (e.target === triggerRef) { - e.preventDefault(); - } - })} - class="w-(--bits-popover-anchor-width) min-w-(--bits-popover-anchor-width) md:rounded-2xl" - > - {@render children?.({ id: contentId })} - - +