Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Layout issues when using Dialog #102

Open
NoelOConnell opened this issue Jun 16, 2022 · 0 comments
Open

Layout issues when using Dialog #102

NoelOConnell opened this issue Jun 16, 2022 · 0 comments

Comments

@NoelOConnell
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant