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

Add a simple way to close context menu #211

Closed
radubrehar opened this issue Dec 13, 2023 · 0 comments
Closed

Add a simple way to close context menu #211

radubrehar opened this issue Dec 13, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@radubrehar
Copy link
Contributor

We need a way to close the context menu. This should be available:

  • via the Infinite API
  • via the onAction({ key, item, hideMenu }) from menu items
  • via a menu item boolean flag - item.hideMenuOnAction
items: [
{
  label: `Export file`,
  key: 'export',
  hideMenuOnAction: true,
 }
]
@radubrehar radubrehar added the enhancement New feature or request label Dec 13, 2023
@radubrehar radubrehar self-assigned this Dec 13, 2023
@radubrehar radubrehar added this to the 3.0.17 milestone Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant