Skip to content

Commit 8b31da1

Browse files
committed
chore: add changeset for mega menu multiple dropdowns
Patch bump, matching how this project versions additive changes: minor is reserved for breaking changes in the changelog history. Refs #1610
1 parent 5c30d9a commit 8b31da1

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.changeset/olive-donkeys-shave.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
"flowbite-react": patch
3+
---
4+
5+
Support multiple dropdowns inside a single `<MegaMenu>`
6+
7+
### Changes
8+
9+
- [x] pair each `<MegaMenuDropdownToggle>` with its own `<MegaMenuDropdown>` by declaration order, instead of always resolving the first dropdown of the navbar
10+
- [x] close the other dropdowns of a mega menu when one is opened
11+
- [x] export `MegaMenuContext`, `useMegaMenuContext` and `MegaMenuContextValue`
12+
- [x] stop calling hooks conditionally in `<MegaMenuDropdown>`

0 commit comments

Comments
 (0)