Repository navigation
[menu] Add filterable menus - #5527
Merged
Merged
Conversation
commit: |
Bundle size
PerformanceTotal duration: 450.87 ms -32.39 ms(-6.7%) | Renders: 76 (+0) | Paint: 826.65 ms -51.05 ms(-5.8%)
13 tests within noise — details Check out the code infra dashboard for more information about this PR. |
✅ Deploy Preview for base-ui ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
atomiks
force-pushed
the
codex/filter-menu-v1
branch
2 times, most recently
from
August 24, 2026 05:50
07935fd to
aa4bd6d
Compare
atomiks
force-pushed
the
codex/filter-menu-v1
branch
from
August 25, 2026 04:01
18eea90 to
7dd289d
Compare
atomiks
marked this pull request as ready for review
August 25, 2026 08:19
atomiks
requested review from
aarongarciah,
colmtuite,
flaviendelangle,
jjenzz and
michaldudak
as code owners
August 25, 2026 08:19
jjenzz
force-pushed
the
codex/filter-menu-v1
branch
from
September 1, 2026 16:54
3e9d83c to
de447aa
Compare
jjenzz
force-pushed
the
codex/filter-menu-v1
branch
2 times, most recently
from
September 1, 2026 17:12
d640544 to
c91102a
Compare
Contributor
Author
michaldudak
approved these changes
Sep 30, 2026
Closed
michaldudak
added a commit
to michaldudak/base-ui
that referenced
this pull request
Oct 7, 2026
The grid guard in useListNavigation is a standalone fix that mui#5586 shipped, not part of highlightItem. Without it, keys the grid does not handle re-report the current highlight, which corrupts inline Autocomplete input in grid mode. Also keep three onItemHighlighted tests from mui#5527 that cover live syncHighlightedItem behavior, now set up through keyboard and hover.
1 task done
1 task done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Closes #4157
This PR adds filterable menus: wrap
Menu.RootorMenu.SubmenuRootinMenu.FilterProvider, and addMenu.Input,Menu.List,Menu.Clear, andMenu.Emptyto the popup. It also addsMenu.Root.onItemHighlighted. The filtering engine is only bundled withMenu.FilterProvider; plain menus grow by about 1.9 KB gzipped for the shared scaffolding.Changes for existing menus:
Menu.Listalso works in plain menus. It takes themenurole, and the popup becomespresentation.Menu.Popupwith its ownaria-labelno longer also getsaria-labelledbypointing at the trigger.base-ui-prefix.Docs preview · Submenu example