NSPanelmust be the key window, and WebViewmust be the first responder:
[panel makeFirstResponder:webView]
This sounds like an error to me, because scrolling the web view, even if it is not the first responder, correctly selects the buttons with the hover effect.
source
share