Repository navigation
Set menu items to 'inactive' #37
kla-ko
started this conversation in
Ideas & Suggestions
Replies: 1 comment
|
I understand. I think this can be achieved if the API of the library is updated to expose a hook that will be executed right before the context-menu is displayed and in this hook can be defined the logic that decides what items |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi
It's a common practice for context menus to show those menu items as inactive (= grey color, not selectable), if it does not make sense to execute the action related to these menu items.
Examples: A
pasteaction shall be inactive if there is nothing to paste in the clipboard. Abackaction shall be inactive if this is the first step of a process.I don't think this is achievable today. Might be a feature for the
updateOptions-API ?Regards
All reactions