themesberg / themesberg/flowbite
Mega menu examples should have `data-dropdown-toggle` rather than `data-collapse-toggle`
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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