mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-30 10:38:28 +01:00
when blurring an action bar set previouslyfocuseditem (#190199)
fixes #187195
This commit is contained in:
@@ -203,8 +203,8 @@ export class ActionBar extends Disposable implements IActionRunner {
|
||||
this._register(this.focusTracker.onDidBlur(() => {
|
||||
if (DOM.getActiveElement() === this.domNode || !DOM.isAncestor(DOM.getActiveElement(), this.domNode)) {
|
||||
this._onDidBlur.fire();
|
||||
this.previouslyFocusedItem = this.focusedItem;
|
||||
this.focusedItem = undefined;
|
||||
this.previouslyFocusedItem = undefined;
|
||||
this.triggerKeyDown = false;
|
||||
}
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user