mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 03:25:38 +00:00
parent
7745a4595f
commit
4a0555d948
1 changed files with 2 additions and 0 deletions
|
@ -1855,6 +1855,8 @@ export class NotebookEditorWidget extends Disposable implements INotebookEditorD
|
|||
// The notebook editor doesn't have focus yet
|
||||
if (!this.hasEditorFocus()) {
|
||||
this.focusContainer();
|
||||
// trigger editor to update as FocusTracker might not emit focus change event
|
||||
this.updateEditorFocus();
|
||||
}
|
||||
|
||||
if (element && element.focusMode === CellFocusMode.Editor) {
|
||||
|
|
Loading…
Reference in a new issue