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

with headleesui, With full-width flyouts Components could not run well #237

Closed
singleseeker opened this issue Feb 13, 2021 · 1 comment
Closed

Comments

@singleseeker
Copy link

As tailwindui.com and this headlessui plugin from the same team.

I think they should run well with each other.

Well, when using With full-width flyouts Header, in case of showing the dropdown menu, we are using headleesui, then we must change the code structure.

After that, the menu shows not good.

image

Here is the link, any suggestion?

Thank you.

https://codesandbox.io/s/little-feather-1sssv?file=/src/App.js

@RobinMalfait
Copy link
Member

Hey! Thank you for your bug report!
Much appreciated! 🙏

The menu component is not intended to be used for a flyout menu, its mainly used for dropdowns or your native menubar like situation. We have a new component in the develop branch, called a Popover that can be used for this very use case:

Note: this version is not released yet, however we do have it published under the dev tag.
You can already try it using npm install @headlessui/react@dev or yarn add @headlessui/react@dev.

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

2 participants