-
-
Notifications
You must be signed in to change notification settings - Fork 164
Closed
Labels
triageA maintainer needs to review this issue and label it appropriatelyA maintainer needs to review this issue and label it appropriately
Description
Describe the bug
Popover content is not visible in an async component under certain conditions.
--bits-floating-transform-origin: undefined undefined;
--bits-floating-available-width: undefinedpx;
--bits-floating-available-height: undefinedpx;
--bits-floating-anchor-width: undefinedpx;
--bits-floating-anchor-height: undefinedpx;
I opened an issue in the svelte repo and I was told to open one here instead.
Reproduction
<script>
import { Popover } from "bits-ui";
let value = $state();
let foo = $derived(await value);
</script>
<input bind:value />
<Popover.Root>
<Popover.Trigger>Open Popover</Popover.Trigger>
<Popover.Content>
<p>Popover Content</p>
</Popover.Content>
</Popover.Root>
{#if value}
<p>lol</p>
{/if}Logs
System Info
svelte playgroundSeverity
blocking an upgrade
willingtonortiz and filip-naumovic-myriad
Metadata
Metadata
Assignees
Labels
triageA maintainer needs to review this issue and label it appropriatelyA maintainer needs to review this issue and label it appropriately