fix: custom claims input suggestions flickering

This commit is contained in:
Elias Schneider
2025-07-06 00:23:06 +02:00
parent e46f60ac8d
commit 49f1ab2f75
2 changed files with 5 additions and 1 deletions

View File

@@ -72,7 +72,7 @@
</Card.Header>
{#if expanded}
<div transition:slide={{ duration: 200 }}>
<Card.Content class="pt-5">
<Card.Content>
{@render children()}
</Card.Content>
</div>

View File

@@ -58,6 +58,8 @@
selectedIndex = -1;
}
});
$effect(() => handleOnInput());
</script>
<div
@@ -84,6 +86,8 @@
trapFocus={false}
interactOutsideBehavior="ignore"
onCloseAutoFocus={(e) => e.preventDefault()}
avoidCollisions={false}
strategy="absolute"
>
{#each filteredSuggestions as suggestion, index}
<div