daisyui icon indicating copy to clipboard operation
daisyui copied to clipboard

bug: menu-horizontal submenus styled differently when using `menu-dropdown` vs `details`

Open camzach opened this issue 10 months ago โ€ข 1 comments

What version of daisyUI are you using?

v4.10.1

Which browsers are you seeing the problem on?

Chrome, Firefox

Reproduction URL

https://codepen.io/camzach/pen/NWmLxPJ

Describe your issue

My navigation contains a menu that's currently using the details element, but I'd like to be able to control it programmatically so that I can close the details when the user clicks outside of the menu. Unfortunately, dropdowns produced by menu-horizontal > .menu-dropdown are styled differently from dropdowns produced by menu-horizontal > dialog > ul.

camzach avatar Apr 15 '24 20:04 camzach

Thank you @camzach for reporting issues. It helps daisyUI a lot ๐Ÿ’š
I'll be working on issues one by one. I will help with this one as soon as a I find a solution.
In the meantime providing more details and reproduction links would be helpful.

github-actions[bot] avatar Apr 15 '24 20:04 github-actions[bot]