TypeScript
fix(web): block type-to-focus behind open dialogs (#8139)
Simoneb5b6abb11e61
diff --git a/apps/web/src/components/ChatView.tsx b/apps/web/src/components/ChatView.tsxindex c222bb3bf0a..28d1be21afd 100644--- a/apps/web/src/components/ChatView.tsx+++ b/apps/web/src/components/ChatView.tsx@@ -528,7 +528,11 @@ const TYPE_TO_FOCUS_INTERACTIVE_SELECTOR = ['[role="tab"]',].join(",");const TYPE_TO_FOCUS_FLOATING_LAYER_SELECTOR = [- '[data-slot="dialog"]',+ '[data-slot="alert-dialog-popup"]:is([data-open],[data-ending-style])',+ '[data-slot="command-dialog-popup"]:is([data-open],[data-ending-style])',+ '[data-slot="dialog-popup"]:is([data-open],[data-ending-style])',+ '[data-slot="sheet-popup"]:is([data-open],[data-ending-style])',+ '[data-slot="sidebar"][data-mobile="true"]:is([data-open],[data-ending-style])','[data-slot="menu-popup"]','[data-slot="select-popup"]','[data-slot="popover-popup"]',