only filter when quick pick is visible
This commit is contained in:
parent
ca07441587
commit
f00d30357f
|
@ -496,9 +496,11 @@ class QuickPick<T extends IQuickPickItem> extends QuickInput implements IQuickPi
|
|||
if (!skipUpdate) {
|
||||
this.update();
|
||||
}
|
||||
const didFilter = this.ui.list.filter(this.filterValue(this._value));
|
||||
if (didFilter) {
|
||||
this.trySelectFirst();
|
||||
if (this.visible) {
|
||||
const didFilter = this.ui.list.filter(this.filterValue(this._value));
|
||||
if (didFilter) {
|
||||
this.trySelectFirst();
|
||||
}
|
||||
}
|
||||
this.onDidChangeValueEmitter.fire(this._value);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue