Component changelog
NavigationMenu changelog
Component-specific release notes collected from the full changelog. This page filters the published entries that mention NavigationMenu.
Release
v1.2.0
Minor Changes
-
befc825: Dialog, AlertDialog, Popover, Tooltip, HoverCard, menus, Select, Combobox and NavigationMenu take
actionsRefwithclose(). Field and Form takeactionsRefwithvalidate(). Field takes controlledtouchedanddirty, andField.ControltakesonValueChange. -
07e6783: Add DirectionProvider and
useDirection. Wrap an RTL app once with<DirectionProvider dir="rtl">and every Rad UI component inside uses right-to-left keyboard navigation and positioning: Tabs, TabNav, ToggleGroup, Toolbar, RadioGroup, CheckboxGroup, Accordion, Menubar, menus, NavigationMenu, Splitter, Slider, Select and Combobox. A component's owndirprop still wins. Setdiron<html>as well so text and CSS follow. -
befc825: NavigationMenu takes
delay,closeDelay,orientationandonOpenChangeComplete; its Content plays enter and exit transitions and takesforceMount; a disabled Trigger doesn't open;Linktakesactive(aria-current="page") andcloseOnClick. -
ed15256:
NavigationMenu.Viewportcan anchor itself to the open item's trigger: passside,align,sideOffset,alignOffset,anchor,collisionAvoidance,collisionPadding,collisionBoundary,positionMethod,stickyordisableAnchorTrackingand it is positioned with collision handling, withdata-side/data-alignfor styling. Without these props it stays laid out by CSS as before. -
07e6783: Add
NavigationMenu.Viewport: one shared container that every open panel renders into. It exposes the open panel's size as--rad-navigation-menu-viewport-width/--rad-navigation-menu-viewport-heightso CSS can animate between panels, and keeps Tab order following the triggers.
Release
v1.1.0
Minor Changes
-
8d5c556: feat: right-to-left support for menus, Select, Combobox, NavigationMenu, TabNav and ScrollArea
- DropdownMenu, ContextMenu: new
dirprop. In RTL, ArrowLeft/ArrowRight open and close submenus, submenus open on the left, and the portaled content (and submenus) carriesdir.rtlis deprecated in favor ofdir="rtl". - NavigationMenu, TabNav: new
dirprop; arrow keys follow reading direction. - Select, Combobox:
diron the root now also applies to the portaled listbox. - ScrollArea: horizontal scroll math and scrollbar placement use the computed direction (logical CSS insets, RTL scroll range).
- DropdownMenu, ContextMenu: new
Release
v0.6.0
Patch Changes
- 3a9ef46Add configurable
loopfocus-wrapping options for Tabs, Disclosure, Tree, and NavigationMenu, including NavigationMenu content panels.