@radix-ui/react-context-menu breaking changes
Updated December 4, 2026
On this page
Latest version 2.4.2, released December 4, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
@radix-ui/react-context-menu 2.4.1 breaking changes
- Signature changed
ContextMenuProps.onOpenChange
Was onOpenChange?: ((open: boolean) => void) | undefined; now onOpenChange?: {bivarianceHack(open: boolean): void;}['bivarianceHack'] | undefined. npmjs.com - Signature changed
ContextMenuSubProps.onOpenChange
Was onOpenChange?: ((open: boolean) => void) | undefined; now onOpenChange?: {bivarianceHack(open: boolean): void;}['bivarianceHack'] | undefined. npmjs.com
@radix-ui/react-context-menu 2.4.0 breaking changes
- Signature changed
ContextMenuContentProps
Was interface ContextMenuContentProps extends Omit<MenuContentProps, 'onEntryFocus' | 'side' | 'sideOffset' | 'align'>; now interface ContextMenuContentProps extends Omit<MenuContentProps, 'onEntryFocus'>. npmjs.com - Signature changed
ContextMenuProps.children
Was children?: React.ReactNode; now children?: React.ReactNode | undefined. npmjs.com - Signature changed
ContextMenuProps.dir
Was dir?: Direction; now dir?: Direction | undefined. npmjs.com - Signature changed
ContextMenuProps.modal
Was modal?: boolean; now modal?: boolean | undefined. npmjs.com - Signature changed
ContextMenuProps.onOpenChange
Was onOpenChange?(open: boolean): void; now onOpenChange?: ((open: boolean) => void) | undefined. npmjs.com - Signature changed
ContextMenuProps.open
Was open?: boolean; now open?: boolean | undefined. npmjs.com - Signature changed
ContextMenuSubProps.children
Was children?: React.ReactNode; now children?: React.ReactNode | undefined. npmjs.com - Signature changed
ContextMenuSubProps.defaultOpen
Was defaultOpen?: boolean; now defaultOpen?: boolean | undefined. npmjs.com - Signature changed
ContextMenuSubProps.onOpenChange
Was onOpenChange?(open: boolean): void; now onOpenChange?: ((open: boolean) => void) | undefined. npmjs.com - Signature changed
ContextMenuSubProps.open
Was open?: boolean; now open?: boolean | undefined. npmjs.com
And 1 more in this version. Sign up to see every change
@radix-ui/react-context-menu 2.3.8 breaking changes
- Signature changed
Arrow
Was const Arrow: React.ForwardRefExoticComponent<ContextMenuArrowProps & React.RefAttributes<SVGSVGElement>>; now const ContextMenuArrow: React.ForwardRefExoticComponent<ContextMenuArrowProps & React.RefAttributes<SVGSVGElement>>. npmjs.com - Signature changed
CheckboxItem
Was const CheckboxItem: React.ForwardRefExoticComponent<ContextMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>>; now const ContextMenuCheckboxItem: React.ForwardRefExoticComponent<ContextMenuCheckboxItemProps &... npmjs.com - Signature changed
Content
Was const Content: React.ForwardRefExoticComponent<ContextMenuContentProps & React.RefAttributes<HTMLDivElement>>; now const ContextMenuContent: React.ForwardRefExoticComponent<ContextMenuContentProps & React.RefAttributes<HTMLDivElement>>. npmjs.com - Signature changed
Group
Was const Group: React.ForwardRefExoticComponent<ContextMenuGroupProps & React.RefAttributes<HTMLDivElement>>; now const ContextMenuGroup: React.ForwardRefExoticComponent<ContextMenuGroupProps & React.RefAttributes<HTMLDivElement>>. npmjs.com - Signature changed
Item
Was const Item: React.ForwardRefExoticComponent<ContextMenuItemProps & React.RefAttributes<HTMLDivElement>>; now const ContextMenuItem: React.ForwardRefExoticComponent<ContextMenuItemProps & React.RefAttributes<HTMLDivElement>>. npmjs.com - Signature changed
ItemIndicator
Was const ItemIndicator: React.ForwardRefExoticComponent<ContextMenuItemIndicatorProps & React.RefAttributes<HTMLSpanElement>>; now const ContextMenuItemIndicator: React.ForwardRefExoticComponent<ContextMenuItemIndicatorProps &... npmjs.com - Signature changed
Label
Was const Label: React.ForwardRefExoticComponent<ContextMenuLabelProps & React.RefAttributes<HTMLDivElement>>; now const ContextMenuLabel: React.ForwardRefExoticComponent<ContextMenuLabelProps & React.RefAttributes<HTMLDivElement>>. npmjs.com - Signature changed
Portal
Was const Portal: React.FC<ContextMenuPortalProps>; now const ContextMenuPortal: React.FC<ContextMenuPortalProps>. npmjs.com - Signature changed
RadioGroup
Was const RadioGroup: React.ForwardRefExoticComponent<ContextMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>; now const ContextMenuRadioGroup: React.ForwardRefExoticComponent<ContextMenuRadioGroupProps &... npmjs.com - Signature changed
RadioItem
Was const RadioItem: React.ForwardRefExoticComponent<ContextMenuRadioItemProps & React.RefAttributes<HTMLDivElement>>; now const ContextMenuRadioItem: React.ForwardRefExoticComponent<ContextMenuRadioItemProps &... npmjs.com
And 6 more in this version. Sign up to see every change
@radix-ui/react-context-menu 2.3.7 breaking changes
- Signature changed
Arrow
Was const ContextMenuArrow: React.ForwardRefExoticComponent<ContextMenuArrowProps & React.RefAttributes<SVGSVGElement>>; now const Arrow: React.ForwardRefExoticComponent<ContextMenuArrowProps & React.RefAttributes<SVGSVGElement>>. npmjs.com - Signature changed
CheckboxItem
Was const ContextMenuCheckboxItem: React.ForwardRefExoticComponent<ContextMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>>; now const CheckboxItem: React.ForwardRefExoticComponent<ContextMenuCheckboxItemProps &... npmjs.com - Signature changed
Content
Was const ContextMenuContent: React.ForwardRefExoticComponent<ContextMenuContentProps & React.RefAttributes<HTMLDivElement>>; now const Content: React.ForwardRefExoticComponent<ContextMenuContentProps & React.RefAttributes<HTMLDivElement>>. npmjs.com - Signature changed
Group
Was const ContextMenuGroup: React.ForwardRefExoticComponent<ContextMenuGroupProps & React.RefAttributes<HTMLDivElement>>; now const Group: React.ForwardRefExoticComponent<ContextMenuGroupProps & React.RefAttributes<HTMLDivElement>>. npmjs.com - Signature changed
Item
Was const ContextMenuItem: React.ForwardRefExoticComponent<ContextMenuItemProps & React.RefAttributes<HTMLDivElement>>; now const Item: React.ForwardRefExoticComponent<ContextMenuItemProps & React.RefAttributes<HTMLDivElement>>. npmjs.com - Signature changed
ItemIndicator
Was const ContextMenuItemIndicator: React.ForwardRefExoticComponent<ContextMenuItemIndicatorProps & React.RefAttributes<HTMLSpanElement>>; now const ItemIndicator: React.ForwardRefExoticComponent<ContextMenuItemIndicatorProps &... npmjs.com - Signature changed
Label
Was const ContextMenuLabel: React.ForwardRefExoticComponent<ContextMenuLabelProps & React.RefAttributes<HTMLDivElement>>; now const Label: React.ForwardRefExoticComponent<ContextMenuLabelProps & React.RefAttributes<HTMLDivElement>>. npmjs.com - Signature changed
Portal
Was const ContextMenuPortal: React.FC<ContextMenuPortalProps>; now const Portal: React.FC<ContextMenuPortalProps>. npmjs.com - Signature changed
RadioGroup
Was const ContextMenuRadioGroup: React.ForwardRefExoticComponent<ContextMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>; now const RadioGroup: React.ForwardRefExoticComponent<ContextMenuRadioGroupProps &... npmjs.com - Signature changed
RadioItem
Was const ContextMenuRadioItem: React.ForwardRefExoticComponent<ContextMenuRadioItemProps & React.RefAttributes<HTMLDivElement>>; now const RadioItem: React.ForwardRefExoticComponent<ContextMenuRadioItemProps &... npmjs.com
And 6 more in this version. Sign up to see every change
@radix-ui/react-context-menu 2.3.5 breaking changes
- Signature changed
Arrow
Was const Arrow: React.ForwardRefExoticComponent<ContextMenuArrowProps & React.RefAttributes<SVGSVGElement>>; now const ContextMenuArrow: React.ForwardRefExoticComponent<ContextMenuArrowProps & React.RefAttributes<SVGSVGElement>>. npmjs.com - Signature changed
CheckboxItem
Was const CheckboxItem: React.ForwardRefExoticComponent<ContextMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>>; now const ContextMenuCheckboxItem: React.ForwardRefExoticComponent<ContextMenuCheckboxItemProps &... npmjs.com - Signature changed
Content
Was const Content: React.ForwardRefExoticComponent<ContextMenuContentProps & React.RefAttributes<HTMLDivElement>>; now const ContextMenuContent: React.ForwardRefExoticComponent<ContextMenuContentProps & React.RefAttributes<HTMLDivElement>>. npmjs.com - Signature changed
Group
Was const Group: React.ForwardRefExoticComponent<ContextMenuGroupProps & React.RefAttributes<HTMLDivElement>>; now const ContextMenuGroup: React.ForwardRefExoticComponent<ContextMenuGroupProps & React.RefAttributes<HTMLDivElement>>. npmjs.com - Signature changed
Item
Was const Item: React.ForwardRefExoticComponent<ContextMenuItemProps & React.RefAttributes<HTMLDivElement>>; now const ContextMenuItem: React.ForwardRefExoticComponent<ContextMenuItemProps & React.RefAttributes<HTMLDivElement>>. npmjs.com - Signature changed
ItemIndicator
Was const ItemIndicator: React.ForwardRefExoticComponent<ContextMenuItemIndicatorProps & React.RefAttributes<HTMLSpanElement>>; now const ContextMenuItemIndicator: React.ForwardRefExoticComponent<ContextMenuItemIndicatorProps &... npmjs.com - Signature changed
Label
Was const Label: React.ForwardRefExoticComponent<ContextMenuLabelProps & React.RefAttributes<HTMLDivElement>>; now const ContextMenuLabel: React.ForwardRefExoticComponent<ContextMenuLabelProps & React.RefAttributes<HTMLDivElement>>. npmjs.com - Signature changed
Portal
Was const Portal: React.FC<ContextMenuPortalProps>; now const ContextMenuPortal: React.FC<ContextMenuPortalProps>. npmjs.com - Signature changed
RadioGroup
Was const RadioGroup: React.ForwardRefExoticComponent<ContextMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>; now const ContextMenuRadioGroup: React.ForwardRefExoticComponent<ContextMenuRadioGroupProps &... npmjs.com - Signature changed
RadioItem
Was const RadioItem: React.ForwardRefExoticComponent<ContextMenuRadioItemProps & React.RefAttributes<HTMLDivElement>>; now const ContextMenuRadioItem: React.ForwardRefExoticComponent<ContextMenuRadioItemProps &... npmjs.com
And 6 more in this version. Sign up to see every change
Related packages
- @radix-ui/react-toggle
- @radix-ui/react-select
- @radix-ui/react-toggle-group
- @radix-ui/react-toast
- @radix-ui/react-tooltip
- @radix-ui/react-dialog
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.