fix(desktop): open external links in default browser#10903
fix(desktop): open external links in default browser#10903aparusel wants to merge 1 commit intoanomalyco:devfrom
Conversation
Intercept external http(s) anchor clicks and delegate to the OS browser so the main app webview is never replaced by a navigated page.
|
The following comment was made by an LLM, it may be inaccurate: Based on my search, I found 2 potentially related PRs (excluding the current PR #10903):
These PRs seem to address the same or very similar issues around preventing external links from navigating the webview and opening them in the system browser instead. You may want to check if #8523 and #10310 are already merged or closed, and whether #10903 supersedes or complements them. |
00637c0 to
71e0ba2
Compare
f1ae801 to
08fa7f7
Compare
|
Fixed otherwise. Issue doesn't exist anymore as of version 1.2.8 |
Fixes #10901
What does this PR do?
Prevents external http(s) links in AI responses from navigating the app webview. External links now open in the OS default browser so OpenCode’s main UI is never replaced.
How did you verify your code works?
bun run --cwd packages/desktop tauri dev)