Skip to content

Commit

Permalink
fix(macOS): enable tab navigation on all elements, fixes #406
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianLars committed Mar 1, 2022
1 parent d3d03dc commit 5a8fade
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/webview/wkwebview/mod.rs
Expand Up @@ -261,6 +261,9 @@ impl InnerWebView {
let _: id = msg_send![_preference, setValue:_yes forKey:dev];
}

#[cfg(target_os("macos"))]
let _: () = msg_send![_preference, setValue:_yes forKey:NSString::new("tabFocusesLinks")];

#[cfg(feature = "transparent")]
if attributes.transparent {
let no: id = msg_send![class!(NSNumber), numberWithBool:0];
Expand Down

0 comments on commit 5a8fade

Please sign in to comment.