The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 22, 14:30 UTC
fix(web): clicking the device screen no longer draws a focus ring (#25882)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Theo Browne committed
Oct 27, 2026 at 03:25 UTC
63bc022f646e7b7591645998f1c67840a725b59c
1 file changed
+2
-2
apps/web/src/components/device/DeviceStreamView.tsx
+2
-2
@@ -299,8 +299,8 @@ export function DeviceStreamView(props: {
299
ref={hostRef}
300
className={cn(
301
"relative flex min-h-0 min-w-0 flex-1 items-center justify-center overflow-hidden outline-none",
302
- // Overlay the stream; focus (including pointer-driven focus) marks keyboard capture.
303
- "after:pointer-events-none after:absolute after:inset-0 after:z-10 focus:after:ring-2 focus:after:ring-inset focus:after:ring-ring",
302
+ // Overlay so the ring paints above the stream canvas.
303
+ "after:pointer-events-none after:absolute after:inset-0 after:z-10 focus-visible:after:ring-2 focus-visible:after:ring-inset focus-visible:after:ring-ring",
304
controlsInset && "pr-14",
305
)}
306
tabIndex={0}