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

Feature-Request: Manully open and close contextmenu by exporting "callShowEvent" and "callHideEvent" #22

Open
anti-held-333 opened this issue Oct 29, 2020 · 2 comments

Comments

@anti-held-333
Copy link

Hey,
I want to dynamically open the menu because I have to handle the context menu event for a different purpose as well.
By exposing "callShowEvent" and "callHideEvent" it would be able to toggle the context menu.

@reachtokish
Copy link
Owner

Hi @anti-held-333 , thanks for raising the feature request. To achieve your concern there are multiple scenarios we have to think about like one is, in which position do you want the context menu visible because currently it picks the position from the right click coords, another thing is we have to expose an offset prop so that dynamically we can set offset position. Let me think a bit more. Will do something very soon.

Also I'm open for accepting PRs. Thanks :)

@khoakomlem
Copy link

Any updates?

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

3 participants