unstale

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

@unstale/cli 0.2.8 on npm

@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.

    2.1.22release notes

Performance 1

  • Improved tree-shaking lets bundlers drop unused components.

    2.1.21release notes

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.

    2.2.1release notes

  • Optional types now allow explicit undefined for compatibility with TypeScript's exactOptionalPropertyTypes flag.

    2.2.0release notes

  • Reverted breaking changes that caused compatibility issues with React Server Components.

    2.1.24release notes

  • Menu items no longer intercept Space or Enter when those keys originate from focusable descendants.

    2.1.20release notes

  • Fixed an infinite re-render loop in React 19 caused by unstable composed ref callback references.

    2.1.19release notes

  • Menus and submenus no longer remain open after the window loses focus.

    2.1.18release notes