Menu
The Menu component displays the list of action items that are revealed when
the user clicks on the trigger element.
Changes to Menu. The full components changelog also lists package-wide and cross-cutting entries.
3.14.0
Updates
Overlays
- Fixed the issue that left keyboard focus outside a dialog that was opened from a
Menu.Item. (APPDEV-19146) - Fixed the trigger button missing explicit
aria-haspopup="menu"andaria-expandedattributes, which prevented screen readers from correctly announcing the expanded/collapsed state. (APPDEV-19175) - Fixed the group divider lines not being rendered between
Menu.Groupblocks in mobile mode (viewport ≤ 480 px). (APPDEV-19585) - Fixed the slide-in animation in the mobile menu still playing when
prefers-reduced-motionis set toreduce. (APPDEV-19885) - Fixed the dropdown content being cut off at narrow viewport widths, which caused horizontal scrolling and violated WCAG 1.4.10 (reflow). (APPDEV-19215)
3.13.0
Updates
Menu.Groupnow accepts alabelprop that renders a heading and names the group for assistive technology. AMenu.Labelrendered inside aMenu.Groupalso becomes that group's accessible name automatically, so you no longer have to pair anidwitharia-labelledbyyourself. (APPDEV-18962)- You can now soft-disable a
Menu.Itemwitharia-disabledto keep it focusable and announced to screen readers while showing itsMenu.ItemTooltipon desktop, so you can explain why an item is unavailable. Unlike the harddisabledprop, a soft-disabled item stays interactive and still firesonSelect, leaving the behavior to you, and selecting it does not close the menu. (APPDEV-19690)
3.11.3
Updates
- Disabled
Menu.Itemelements are no longer reachable via keyboard navigation. (APPDEV-18649) - The
Menu.Triggernow setsaria-controlsreferencing the open menu content, allowing screen readers to announce the expanded state correctly. (APPDEV-19170)
3.11.0
Updates
General
- Overlays such as
Tooltip,Menuitem tooltips,SelectandFilterFieldsuggestion lists,FeatureHighlight, and chart tooltips no longer flash briefly in the top-left corner of the screen before moving to their final position. (APPDEV-19359) Menu.ItemandMenu.Linkno longer cause a React console warning whentextValueis passed. (APPDEV-18440)
3.10.5
Updates
General
- Overlays such as
Tooltip,Menuitem tooltips,SelectandFilterFieldsuggestion lists,FeatureHighlight, and chart tooltips no longer flash briefly in the top-left corner of the screen before moving to their final position. (APPDEV-19359)
3.10.0
Updates
- On mobile viewports,
Menunow renders as a full-screen drill-down panel instead of a fly-out dropdown. Sub-menus open as a new level users can navigate into, with a back button to return to the previous level. Desktop behavior is unchanged. (APPDEV-18330)
3.8.0
Updates
- Fixed nested submenus overflowing the viewport on mobile screens. Submenus now stack inline below their trigger at viewport widths ≤ 480px, and long menu item text truncates with ellipsis. Desktop behavior is unchanged. (APPDEV-18058)
3.6.0
Updates
- Fixed several outside-click dismissal issues on the Menu component. (APPDEV-16531)
3.5.0
Updates
- Now checks whether code is running in a browser before accessing browser-only APIs, preventing potential SSR (server-side rendering) issues. (APPDEV-17212)
3.4.0
Updates
- The
Menutrigger now correctly shows its active state when theMenuis open. (APPDEV-16688)
3.2.0
Updates
- Stop calling the SDK function
getIntentLinktwice when theMenu.Intentcomponent is rendered. (PAPA-32034)