themesberg / flowbite-react

Official React components built for Flowbite and Tailwind CSS
https://flowbite-react.com
MIT License
1.77k stars 395 forks source link

(Mega menu) Dropdown should support hover event as trigger #1411

Open jancbeck opened 1 month ago

jancbeck commented 1 month ago

Summary

There should be a way to open the (mega menu) dropdown when the user hovers over the trigger.

Context

In the mega menu, supporting hover makes the nav links that trigger the dropdown navigable. In the default example this would mean I could hover on "Company" to reveal the dropdown contents and click on "Company" to navigate to a page linked to it.

Mega menu is built upon the Dropdown component. The non-react library supports dropdown hover.

jancbeck commented 2 weeks ago

@tulup-conner @connerdavis47 Any update on this and the other Mega menu related issues? Sorry for pressing on this one. I'm currently building a site where I would need a working mega menu dropdown. If you could confirm that this is something on your roadmap for the need weeks that would help me decide if it's something I should build myself for the time being. I could perhaps also submit a PR if my work turns out useful.

connerdavis47 commented 2 weeks ago

Hi there, I have very limited time to work on this project nowadays so any contributions are welcome and greatly appreciated. I wish I had a better answer for you. Definitely feel free to submit a PR if you end up having the time to pursue anything yourself, and Sutu and I will be happy to review it. I won’t speak on his behalf but he may have some more time on hand to take a look as well.

Thank you for reaching out regardless, and again, I really wish I had a better answer… I love open source but I also love a lot of other things 😭
On Sun, Jun 16, 2024 at 23:06, Jan Beck @.***> wrote: @tulup-conner @connerdavis47

Any update on this and the other Mega menu related issues? Sorry for pressing on this one. I'm currently building a site where I would need a working mega menu dropdown. If you could confirm that this is something on your roadmap for the need weeks that would help me decide if it's something I should build myself for the time being. I could perhaps also submit a PR if my work turns out useful.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

jancbeck commented 2 weeks ago

Thanks for your response @connerdavis47 I really appreciate it and your work on this library. Let's see if Sutu has anything to add before we proceed.

SutuSebastian commented 1 week ago

Thanks for your response @connerdavis47 I really appreciate it and your work on this library. Let's see if Sutu has anything to add before we proceed.

Feel free to go wild 🚀