Skip to content
Discussion options

You must be logged in to vote

Here's a fix: https://play.tailwindcss.com/9WDhhxjVvB
The problem is: horizontal menu is using a overflow-hidden and that doesn't play well with dropdown. So we need a overflow-visible on menu.
There is also another problem: menu adds a horizontal padding to all items (including the submenu) so I added !p-0 to fix that.

These issues will be fixed in daisyUI 2.0 which is currently in development.
But for now, I would suggest using a row of buttons if you need a dropdown inside it. This will result a better visual:
https://play.tailwindcss.com/fZpvZHC57w

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
3 replies
@GregorWedlich
Comment options

@saadeghi
Comment options

@GregorWedlich
Comment options

Answer selected by saadeghi
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@devNamanG
Comment options

@saadeghi
Comment options

@rhscjohn-dev
Comment options

@devNamanG
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants