Skip to content

Commit 61718f8

Browse files
authored
Don't show chat toolbars when chat doesn't have DOM focus (microsoft#186801)
Fix microsoft/vscode-copilot#139
1 parent 6b66c59 commit 61718f8

File tree

1 file changed

+3
-1
lines changed
  • src/vs/workbench/contrib/chat/browser/media

1 file changed

+3
-1
lines changed

src/vs/workbench/contrib/chat/browser/media/chat.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@
6666
}
6767

6868
.monaco-list-row:not(.focused) .interactive-item-container:not(:hover) .header .monaco-toolbar,
69-
.monaco-list-row:not(.focused) .interactive-item-container:not(:hover) .header .monaco-toolbar .action-label {
69+
.monaco-list:not(:focus-within) .monaco-list-row .interactive-item-container:not(:hover) .header .monaco-toolbar,
70+
.monaco-list-row:not(.focused) .interactive-item-container:not(:hover) .header .monaco-toolbar .action-label,
71+
.monaco-list:not(:focus-within) .monaco-list-row .interactive-item-container:not(:hover) .header .monaco-toolbar .action-label {
7072
/* Also apply this rule to the .action-label directly to work around a strange issue- when the
7173
toolbar is hidden without that second rule, tabbing from the list container into a list item doesn't work
7274
and the tab key doesn't do anything. */

0 commit comments

Comments
 (0)