Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/router/src/components/link.rs
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,11 @@ pub fn Link(props: LinkProps) -> Element {
return;
}

// If we need to open in a new tab, let the browser handle it
if new_tab {
return;
}

// todo(jon): this is extra hacky for no reason - we should fix prevent default on Links
if do_default && is_external {
return;
Expand Down
Loading