npm / @radix-ui/react-dropdown-menu
@radix-ui/react-dropdown-menu
What changed in @radix-ui/react-dropdown-menu 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.
1 security1 performance6 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@radix-ui/react-dropdown-menu 28 changes
Security 1
Republished through CI so the package includes a provenance attestation, allowing developers to verify its origin.
Performance 1
Improved tree-shaking lets bundlers drop unused components.
Fixes and other changes 6
Fixed a type regression so callback props declared as methods accept handlers whose parameter is narrower than the prop's.
Optional types now allow explicit undefined for compatibility with TypeScript's exactOptionalPropertyTypes flag.
Reverted breaking changes that caused compatibility issues with React Server Components.
Menu items no longer intercept Space or Enter when those keys originate from focusable descendants.
Fixed an infinite re-render loop in React 19 caused by unstable composed ref callback references.
Menus and submenus no longer remain open after the window loses focus.