Cant open ContextMenu when MenuItem has command bind to it which opens a vi

So the issue is:

When I have a MenuItem A , which has some Child MenuItems, but MenuItem A has also a command, then running both wont work. Is this a bug or is this behaviour wanted?

If so, how can I use MenuItems in the way I want to?

If it doesn’t work, I think you will need to create a custom client-side version of ContextMenu for that. Honestly, though, I’d say a parent menu item that also contains a Command smells like bad UX to me.