diff --git a/news/2 Fixes/11581.md b/news/2 Fixes/11581.md new file mode 100644 index 000000000000..da9bf6eb0ce4 --- /dev/null +++ b/news/2 Fixes/11581.md @@ -0,0 +1 @@ +Keep the notebook input prompt up if you focus out of vscode. \ No newline at end of file diff --git a/src/client/datascience/jupyter/jupyterNotebook.ts b/src/client/datascience/jupyter/jupyterNotebook.ts index 51d480b99930..3a168d567ab9 100644 --- a/src/client/datascience/jupyter/jupyterNotebook.ts +++ b/src/client/datascience/jupyter/jupyterNotebook.ts @@ -1020,6 +1020,7 @@ export class JupyterNotebookBase implements INotebook { this.applicationService .showInputBox({ prompt: msg.content.prompt ? msg.content.prompt.toString() : '', + ignoreFocusOut: true, password: hasPassword }) .then((v) => {