themesberg / themesberg/flowbite-react

(Mega menu) Dropdown should support hover event as trigger

Open
#1,411 4 comments 0 reactions 2 assignees View on GitHub

@tulup-conner is already working on this.

Since May 30, 2024.

Dominant language
TypeScript
Stars
2.1k
Forks
506
PR merge metrics
No merged PRs in 30d

Description

  • I have searched the Issues to see if this bug has already been reported
  • I have tested the latest version

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.