isaacplmann / ngx-contextmenu

An Angular component to show a context menu on an arbitrary component
MIT License
248 stars 91 forks source link

Automatically disable context menu if menu items are invisible #104

Open rstropek opened 6 years ago

rstropek commented 6 years ago

Thank you for creating this component. Very useful!

We would need an addition: The context menu should be automatically disabled if it does not contain any visible and/or enabled menu items. We are willing to prepare a proper pull request. Before we invest time I wanted to ask whether you would accept such a PR. Is this a functionality you would want in your component? Any thoughts about do's and dont's?

isaacplmann commented 6 years ago

Yes, that sounds like a nice PR. Go for it.

Navyasri-Gurram commented 6 years ago

Any updates on auto hide context menu when no items exists?