GeezerVison is showing github.com — fix(web): show the open-in-system-browser button on hover while the URL is focused by RostyslavDzhohola · Pull Request #29537 · pingdotgg/t3code
Conversation
Problem
In the Browser panel, the "Open in system browser" button in the address bar is unmounted while the URL input has focus. Once you click into a long URL, hovering the bar no longer reveals the button, so opening the page externally takes three steps: click away, hover the bar again, then click the button.
Reproduce: open any page in the Browser panel, click into the address bar, and point at its right end. No button appears.
Change
Nothing changes while the URL isn't focused: hovering the bar reveals the button as before.
While the URL is focused, the input keeps its full width. Pointing at the far right end of the bar reveals the same button, tucked inside the focus ring:
- It fills the ring's inner height with no gap, and its corners follow the ring's 4px inner radius on both sides.
- It uses the idle hover tile's colors in light and dark, so the URL text doesn't show through it.
- Moving back over the URL hides it again.
Clicking it opens the current URL and leaves the input focused. mousedown is cancelled so the click lands before any blur.
The focused overlay is aria-hidden, tabIndex={-1}, and only rendered on devices with no touch input (not-any-pointer-coarse), so a tap at the end of the URL always reaches the input. Keyboard and touch users keep the existing path: leave the field, then use the button.
The change is limited to PreviewChromeRow, which serves web and desktop. Mobile has no Browser address bar.
Scope and approval
There's no linked issue or discussion. This is a small, focused fix of an obvious bug: the button can't be reached in exactly the state where you're looking at the URL. It changes one component in the web client, which the desktop app also renders. It adds no settings and no new capability. It changes only how the existing button is reached while the URL is focused, and the idle behavior stays as it was.
Walkthrough
Before, then after in light and dark. The captions in the clip describe each step.
walkthrough.mp4
Pointer at the far right end of a focused URL. Top: before. Middle and bottom: after, light and dark.
Close-up, top to bottom:
- idle hover, light
- focused, pointer at the end, light
- idle hover, dark
- focused, pointer at the end, dark
- focused, pointer over the URL
Verification
| State |
Before |
After |
| Idle, bar hovered |
button shown |
button shown (unchanged) |
| URL focused, pointer over the URL |
not rendered |
hidden, URL at full width |
| URL focused, pointer at the far right end |
not rendered |
button shown inside the focus ring |
| Click it |
n/a |
opens the current URL, input stays focused |
| Touch-capable device, tap the end of a focused URL |
not rendered |
not rendered, tap reaches the input |
I checked this in a web dev build (headless Chromium, window.open captured instead of launching a real browser) and by hand in the desktop (Electron) dev build on macOS. For touch, I emulated a touch-capable device (hasTouch) and tapped the end of a focused URL: nothing opened and the input kept focus. A mouse click there still opened the URL.
vp run check:changed passes (format, lint, knip, typecheck, react compiler).
Opus 5.5 via Claude Code
🤖 Generated with Claude Code
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
The button was hidden until the address bar was hovered and was removed
while the URL input had focus, so after selecting a long URL you had to
click away and hover again before you could open it externally.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Bil0000 and RostyslavDzhohola reacted with eyes emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Approvability
Verdict: Approved at 0560780
Macroscope's review found this PR approvable — Keeps the existing “Open in system browser” button visible, including while the address field is focused. External opening remains click-driven with the same handler and availability condition, making this a low-risk presentation change.
You can add or adjust custom eligibility rules. Learn more.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Nov 2, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

Note
Reviews paused
It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.
Use the following commands to manage reviews:
@coderabbitai resume to resume automatic reviews.
@coderabbitai review to trigger a single review.
Use the checkboxes below for quick actions:
- Resume reviews
- Trigger review
No actionable comments were generated in the recent review.
Walkthrough
-
The preview chrome row now uses a shared helper to render the system-browser button. When the URL input is focused, a hover control appears over the input. Its mousedown handler preserves input focus, and the button is excluded from tab order.
Changes: Preview chrome
| Layer / File(s) |
Summary |
System-browser button interaction apps/web/src/components/preview/PreviewChromeRow.tsx |
A shared helper renders the system-browser button and tooltip. The unfocused input addon uses this helper. When the input is focused, a hover control appears over the input. Its mousedown handler preserves input focus, and the button is excluded from tab order. |
Estimated code review effort: 2 (Simple) | ~8 minutes
Change: Bug fix
Possibly related PRs
Suggested labels: bugfix
Suggested reviewers: juliusmarminge
Merge Risk: Minimal · up to 01bcf
-
No evidence-backed merge-blocking risk remains for this focused browser-button interaction change.
Pre-merge checks: 4
-
| Check name |
Status |
Explanation |
| Title check |
 |
The title clearly and concisely describes the main change: showing the system-browser button on hover while the URL field is focused. |
| Description check |
 |
The description includes all required sections. It explains the problem, implementation, scope rationale, visual evidence, verification steps, observed results, and limitations. |
| Linked Issues check |
 |
Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check |
 |
Check skipped because no linked issues were found for this pull request. |
Finishing Touches
-
Generate unit tests (beta)
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
CodeRabbit Verify
- Run CodeRabbit Verify to test the changes in this pull request.
Recent review info
-
Run configuration
-
Commits
-
Reviewing files that changed from the base of the PR and between a6539d8 and 01bcf8d.
Files selected for processing: 1
-
apps/web/src/components/preview/PreviewChromeRow.tsx
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
left a comment
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Fix comments: Fix CodeRabbit comments on this PR
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…ting the URL
Keep the existing hover reveal so the address bar stays clean, and only
drop the focus check that unmounted the button while the URL input had
focus. Hovering a focused address bar now shows the button.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
RostyslavDzhohola
changed the title
fix(web): keep the browser's open-in-system-browser button visible
fix(web): show the open-in-system-browser button on hover while the URL is focused
Nov 2, 2026
coderabbitai
Bot
left a comment
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Fix comments: Fix CodeRabbit comments on this PR
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
maria-rcks
commented
Nov 3, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Note Written by gpt-6.1-sol on behalf of Maria
Verified in a real dev environment
verified unchanged head 63618b4f9d7a9b9fecf12d2821eceb1c3e0ff418 on a linux boat vm, using the real dev web client, repo playwright, and /usr/bin/google-chrome.
- reproduced on
github/main (e1e520c93c) in a separate worktree: focus the browser address bar and hover its right end. the external-open button is absent.
- on the exact pr head, the same focused and hovered address bar reveals the button. clicking opens a real browser tab at the committed url, without intercepting
window.open.
- an unsaved
https://example.org/unsaved-draft still opens the committed example.com url. escape restores the committed url. idle hiding, enter navigation, back/forward, and refresh also work.
- created the project and thread through the app and completed real codex
gpt-6.1-sol turns on both main and the pr. no mocks, fixtures, or demo data.
- blacksmith
vp run check:changed 60aec28a9c6fdb7417a7382ec094ccc4984d0738 passed format, lint, knip, affected-package typechecks, and react compiler coverage. the worker needed its shallow git history restored first. github reports 22 successful and 8 skipped checks.
matching browser-panel crops, with the same committed url and page:



Not verified
native electron desktop and its os external-browser handler, macos/windows, and native ios/android were not exercised on this linux web-client run. mobile has no browser address bar. the recording captures the browser panel; external popup destinations were independently checked through playwright against the actual opened tabs.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…cused URL
While the URL is focused it keeps its full width. Pointing at the far
right end of the bar shows the same button, tucked into the focus ring
with the idle hover colors, and clicking it keeps the input focused.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Note Written by Claude Opus 5.5 on behalf of Rostyslav
Updated in a6539d8. The design changed after Maria's check above, so the screenshots in that comment show the previous one-line version.
While the URL is focused, it now keeps its full width. The button only appears when you point at the far right end of the bar, tucked inside the focus ring with the idle hover colors, in light and dark. Clicking it opens the URL and keeps the field focused.
Pointer at the far right end of a focused URL. Top: before. Middle and bottom: after, light and dark.
The description has close-ups and a walkthrough video.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
left a comment
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Fix comments: Fix CodeRabbit comments on this PR
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
On devices with any coarse pointer (touchscreen laptops), a tap at the
end of a focused URL could hit the invisible button. Render the overlay
only when no coarse pointer is present, so taps reach the input.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Thanks for this. #37118 makes the same change and is the one being kept.
#37118 fixes the same focused-address-bar problem by keeping the existing button mounted and showing it whenever the bar has focus. That smaller change avoids a second, mouse-only overlay and makes the action reachable by keyboard while editing too.
Your version preserves the full input width while focused. We prefer the simpler existing-button approach, accepting the slightly narrower field.
Closing as a duplicate.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
maria-rcks
Awaiting requested review from maria-rcks
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
size:M
30-99 changed lines (additions + deletions).
vouch:unvouched
Author is not yet trusted in the VOUCHED list.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|