I created a NSPanel with styleMask of NSNonactivatingPanelMask. And I put an WebView in this NSPanel, and when I put mouse on some HTML buttons, I can't see any hover effect. I made this NSPanel key window and main window, but it doesn't help. How can I fix this?
The NSPanel must be the key window and the WebView must be the first responder:
[panel makeFirstResponder:webView];
This sounds like a bug to me because scrolling the web view even when it's not the first responder correctly highlights buttons with a hover effect.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With