I\'m using the doubleClickAction
of a NSTableView
to display a NSPopover
. Something like this:
NSInteger selectedRow = [da
You need to change the property behavior of your popover (in code or on interface builder) to:
popover.behavior = NSPopover.Behavior.transient;
NSPopover.Behavior.transient
The system will close the popover when the user interacts with a user interface element outside the popover.
Read more about this in Apple's documentation.