You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Accordingly, ContextMenu.Content elements do not accept accept any of those props.
Expected behavior
These things should be in agreement.
Reproducible example
N/A
Suggested solution
Correct either the type definition or the documentation based on intended behavior. (I vote for allowing these props for maximum customization. e.g. replacing default context menu behavior on mobile with a maximally configurable menu)
Additional context
Your environment
Software
Name(s)
Version
Radix Package(s)
@radix-ui/react-context-menu
2.2.2
React
n/a
19.0.0-rc-7c8e5e7a-20241101
Browser
n/a
n/a
Assistive tech
n/a
n/a
Node
n/a
v20.18.0
npm/yarn
pnpm
9.12.2
Operating System
Windows
11
The text was updated successfully, but these errors were encountered:
Bug report
Current Behavior
Currently, the documentation for React Context Menu indicates that side, alignment, and sideOffset are configurable for Context Menu.
Code example from top of page:
Features section includes:
But ContextMenuContentProps is defined as follows:
Accordingly,
ContextMenu.Content
elements do not accept accept any of those props.Expected behavior
These things should be in agreement.
Reproducible example
N/A
Suggested solution
Correct either the type definition or the documentation based on intended behavior. (I vote for allowing these props for maximum customization. e.g. replacing default context menu behavior on mobile with a maximally configurable menu)
Additional context
Your environment
The text was updated successfully, but these errors were encountered: