huntabyte / vaul-svelte

An unstyled drawer component for Svelte.
https://vaul-svelte.com
MIT License
395 stars 16 forks source link

Use of Portal #71

Closed ispyinternet closed 3 months ago

ispyinternet commented 3 months ago

Change Type

Addition

Proposed Changes

Can you confirm if the portal prop is supported to target a different rendering location and how we use it, I'm currently trying:

<Drawer.Root bind:open={dialogOpen} portal="#app"> but it doesn't seem to work

ispyinternet commented 3 months ago

Obviously being very dumb, I see that you don't specify portal on the Root but on the <Drawer.Portal> component.