Skip to content

Commit ebc6d67

Browse files
Show no results pick when we have no input (microsoft#175576)
Fixes microsoft#172613
1 parent 3bee0c9 commit ebc6d67

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/vs/platform/quickinput/browser/pickerQuickAccess.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,8 @@ export abstract class PickerQuickAccessProvider<T extends IPickerQuickAccessItem
139139
return false;
140140
}
141141

142-
if (picksFilter.length > 0 && this.options?.noResultsPick) {
142+
// We show the no results pick if we have no input to prevent completely empty pickers #172613
143+
if ((picksFilter.length > 0 || picker.hideInput) && this.options?.noResultsPick) {
143144
items = [this.options.noResultsPick];
144145
}
145146
}

0 commit comments

Comments
 (0)