@devries-cameron20 / t3code Mirror · read-only / commits / b5b6abb11e
Fork 0

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 24, 12:45 UTC

fix(web): block type-to-focus behind open dialogs (#8139)

Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com>

Simone committed Sep 1, 2026 at 18:45 UTC b5b6abb11e61ad2c9946b8d1346653c6c43d2261
1 file changed +5 -1
apps/web/src/components/ChatView.tsx
+5 -1
@@ -528,7 +528,11 @@ const TYPE_TO_FOCUS_INTERACTIVE_SELECTOR = [
528 '[role="tab"]',
529 ].join(",");
530 const TYPE_TO_FOCUS_FLOATING_LAYER_SELECTOR = [
531 - '[data-slot="dialog"]',
531 + '[data-slot="alert-dialog-popup"]:is([data-open],[data-ending-style])',
532 + '[data-slot="command-dialog-popup"]:is([data-open],[data-ending-style])',
533 + '[data-slot="dialog-popup"]:is([data-open],[data-ending-style])',
534 + '[data-slot="sheet-popup"]:is([data-open],[data-ending-style])',
535 + '[data-slot="sidebar"][data-mobile="true"]:is([data-open],[data-ending-style])',
536 '[data-slot="menu-popup"]',
537 '[data-slot="select-popup"]',
538 '[data-slot="popover-popup"]',