From aed9d1230f8a7d909baa3986446aa7ea2887b9cc Mon Sep 17 00:00:00 2001 From: Ian Huff Date: Tue, 5 May 2020 16:27:20 -0700 Subject: [PATCH] keep input box for interactive input up on focus out (#11604) Co-authored-by: Ian Huff --- news/2 Fixes/11581.md | 1 + src/client/datascience/jupyter/jupyterNotebook.ts | 1 + 2 files changed, 2 insertions(+) create mode 100644 news/2 Fixes/11581.md 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) => {