NSButton background transparent after getting focus
问题 I have a problem with some borderless NSButtons in a view, on a transparent popover. When the popover is first opened, the buttons look exactly as they should, but when the popover (or the view inside it) gains focus, the background becomes transparent. The first time it is opened, it looks like this (As it should): But when the popover gains focus, the buttons end up like this: , where the background is transparent and the content beneath the popover is visible. I already tried the following