Popover: Add the option for Popover.Overlay #1805
simjnd
started this conversation in
Feature Requests / Ideas
Replies: 1 comment
-
|
You should be able to accomplish this using the <Popover.Root>
<Popover.Trigger />
<Popover.Content>
{#snippet child({ props, open })}
{#if open}
<YourOverlayHere />
{/if}
<div {...props}>
<!-- popover content here -->
</div>
{/snippet}
</Popover.Content
</Popover.Root> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Dialog offers the possibility of dimming the background with the Dialog.Overlay component.
I would love to have this possibility with the Popover component as well.
I cannot use the Dialog component for my purpose as I absolutely need the anchored positioning that Popover provides.
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions