diff --git a/change/@microsoft-fast-foundation-47afe4a7-9451-4c4c-beba-70305e6b600e.json b/change/@microsoft-fast-foundation-47afe4a7-9451-4c4c-beba-70305e6b600e.json index f008758786c..20547c3ba93 100644 --- a/change/@microsoft-fast-foundation-47afe4a7-9451-4c4c-beba-70305e6b600e.json +++ b/change/@microsoft-fast-foundation-47afe4a7-9451-4c4c-beba-70305e6b600e.json @@ -1,7 +1,7 @@ { - "type": "patch", + "type": "prerelease", "comment": "fix(combobox): close the combobox even if there's no selection", "packageName": "@microsoft/fast-foundation", "email": "zoepeterson@microsoft.com", - "dependentChangeType": "patch" + "dependentChangeType": "prerelease" } diff --git a/packages/web-components/fast-foundation/src/combobox/combobox.ts b/packages/web-components/fast-foundation/src/combobox/combobox.ts index fa53764d0b5..d62b253a677 100644 --- a/packages/web-components/fast-foundation/src/combobox/combobox.ts +++ b/packages/web-components/fast-foundation/src/combobox/combobox.ts @@ -258,7 +258,7 @@ export class FASTCombobox extends FormAssociatedCombobox { ) as FASTListboxOption | null; if (!captured || captured.disabled) { - this.open = !this.open; + this.open = false; return; }