mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-16 13:01:12 +00:00
fix: custom claims input suggestions flickering
This commit is contained in:
@@ -72,7 +72,7 @@
|
|||||||
</Card.Header>
|
</Card.Header>
|
||||||
{#if expanded}
|
{#if expanded}
|
||||||
<div transition:slide={{ duration: 200 }}>
|
<div transition:slide={{ duration: 200 }}>
|
||||||
<Card.Content class="pt-5">
|
<Card.Content>
|
||||||
{@render children()}
|
{@render children()}
|
||||||
</Card.Content>
|
</Card.Content>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -58,6 +58,8 @@
|
|||||||
selectedIndex = -1;
|
selectedIndex = -1;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$effect(() => handleOnInput());
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
@@ -84,6 +86,8 @@
|
|||||||
trapFocus={false}
|
trapFocus={false}
|
||||||
interactOutsideBehavior="ignore"
|
interactOutsideBehavior="ignore"
|
||||||
onCloseAutoFocus={(e) => e.preventDefault()}
|
onCloseAutoFocus={(e) => e.preventDefault()}
|
||||||
|
avoidCollisions={false}
|
||||||
|
strategy="absolute"
|
||||||
>
|
>
|
||||||
{#each filteredSuggestions as suggestion, index}
|
{#each filteredSuggestions as suggestion, index}
|
||||||
<div
|
<div
|
||||||
|
|||||||
Reference in New Issue
Block a user