From e576b6e8a423768b67c5368f9a306edcb8b06f14 Mon Sep 17 00:00:00 2001 From: Elio Struyf Date: Fri, 17 Dec 2021 19:21:41 +0100 Subject: [PATCH] #207 - fix quick picks --- CHANGELOG.md | 4 ++++ src/helpers/Questions.ts | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a3bd6557..79d459d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,10 @@ - [#205](https://github.com/estruyf/vscode-front-matter/issues/205): Define a logging level setting - [#206](https://github.com/estruyf/vscode-front-matter/issues/206): Add front matter issues to the diagnostic tab +### 🐞 Fixes + +- [#207](https://github.com/estruyf/vscode-front-matter/issues/207): Fix the quick picks for content creation + ## [5.7.0] - 2021-12-07 - [Release Notes](https://beta.frontmatter.codes/updates/v5.7.0) ### 🎨 Enhancements diff --git a/src/helpers/Questions.ts b/src/helpers/Questions.ts index 1051dfd3..2252fd8a 100644 --- a/src/helpers/Questions.ts +++ b/src/helpers/Questions.ts @@ -45,7 +45,8 @@ export class Questions { let selectedFolder: string | undefined; if (folders.length > 1) { selectedFolder = await window.showQuickPick(folders.map(f => f.title), { - placeHolder: `Select where you want to create your content` + placeHolder: `Select where you want to create your content`, + ignoreFocusOut: true }); } else { selectedFolder = folders[0].title;