Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ContextMenu] context menu side/align/sideOffset not work #3205

Open
slightc opened this issue Nov 1, 2024 · 0 comments
Open

[ContextMenu] context menu side/align/sideOffset not work #3205

slightc opened this issue Nov 1, 2024 · 0 comments

Comments

@slightc
Copy link

slightc commented Nov 1, 2024

Bug report

Current Behavior

ContextMenuContent props cannot set side/align/sideOffset to customize ContextMenuContent display position

Expected behavior

allow set side/align/sideOffset in ContextMenuContent

Reproducible example

https://github.com/radix-ui/primitives/blob/main/packages/react/context-menu/src/ContextMenu.tsx#L207-L215

Suggested solution

image

move default side/align/sideOffset before contentProps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant