themesberg / themesberg/flowbite

Mega menu examples should have `data-dropdown-toggle` rather than `data-collapse-toggle`

Open
#581 3 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
9.4k
Forks
862
PR merge metrics
No merged PRs in 30d

Description

The examples on the Mega Menu page use the data-collapse-toggle attribute which doesn't support closing the menu by clicking anywhere on the page.

From where I'm standing, the examples should be updated to using data-dropdown-toggle

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.

Research direction

Locate the Mega Menu page and inspect its example markup, since no file path or test is named in the issue. Compare the examples' toggle attributes with the surrounding component behavior, then verify that clicking outside the menu closes it as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, tailwindcss
Domain
documentation, frontend
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.