We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4219f23 commit 2932e29Copy full SHA for 2932e29
src/vs/workbench/contrib/scm/browser/scmViewPane.ts
@@ -2411,7 +2411,12 @@ export class SCMViewPane extends ViewPane {
2411
return;
2412
} else if (isSCMActionButton(e.element)) {
2413
this.scmViewService.focus(e.element.repository);
2414
- this.actionButtonRenderer.focusActionButton(e.element);
+
2415
+ // Focus the action button
2416
+ const target = e.browserEvent?.target as HTMLElement;
2417
+ if (target.classList.contains('monaco-tl-row') || target.classList.contains('button-container')) {
2418
+ this.actionButtonRenderer.focusActionButton(e.element);
2419
+ }
2420
2421
2422
}
0 commit comments