rgossiaux/svelte-headlessui

Layout issues when using Dialog

NoelOConnell opened this issue · 0 comments

Describe the bug
When using the <Dialog> component a <div class=" "></div> is added to the page a few parent elements above.
This is causing some layout issues as a new element is added to the page.

image

I can see in the official headlessui that something similar happens but the div is styled to not effect the layout.
https://github.com/tailwindlabs/headlessui/blob/main/packages/%40headlessui-vue/src/internal/hidden.ts

image

Library version
Latest