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

Configurable direction of menu-open (e.g. bottom-right, top-left) #120

Open
rummelsworth opened this issue Apr 11, 2022 · 0 comments
Open

Comments

@rummelsworth
Copy link

Is your feature request related to a problem? Please describe.
I'd like to configure the context menu to open to the top-left instead of to the bottom-right. Currently, the menus seem to always open to the bottom-right, although they do seem to nicely reverse direction when there's not enough room.

Describe the solution you'd like
It'd be nice if the trigger element or the menu element had another parameter property that allowed this configuration. The default could be something like MenuOpenDirection.BottomRight and in my own use-case I'd explicitly set it to MenuOpenDirection.TopLeft.

Describe alternatives you've considered
I scanned the docs & code for any ideas on how to get this to happen, but I came up empty-handed. I might try diving more deeply into the code to try to figure out what to change so I can get it to work. If I surprise myself and actually figure it out, I'll happily report back here.

Additional context
None right now.

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