We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e28808 commit 0e29fadCopy full SHA for 0e29fad
1 file changed
src/vs/base/browser/ui/actionbar/actionbar.ts
@@ -672,6 +672,10 @@ export class ActionBar extends EventEmitter implements IActionRunner {
672
}
673
674
private cancel(): void {
675
+ if (document.activeElement instanceof HTMLElement) {
676
+ (<HTMLElement>document.activeElement).blur(); // remove focus from focussed action
677
+ }
678
+
679
this.emit(CommonEventType.CANCEL);
680
681
0 commit comments