I'm facing an issue, when NSMenu.PopUpMenu is called then it disables my NSTextField even if I don't select any item from NSMenu.
My NSMenu belongs to another custom control to show items as PopUpButton(ComoboBox).
Here is part of my code:
CGPoint loc = new CGPoint(0f, 0f);
var result = PopUpMenu.PopUpMenu(PopUpMenu.Items, loc, this); //From here my NSTextField changes to disabled and I cannot be edited
Here is my NSTextField before open NSMenu:
After NSMenu is open:
THESE CONTROLS ARE SHOWN IN A DIALOG WINDOW. I have the same controls in other window(no dialog) and they work correctly.
Dialog uses storyboard and viewcontroller to be loaded in the window.