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) {
|
if (!skipUpdate) {
|
||||||
this.update();
|
this.update();
|
||||||
}
|
}
|
||||||
const didFilter = this.ui.list.filter(this.filterValue(this._value));
|
if (this.visible) {
|
||||||
if (didFilter) {
|
const didFilter = this.ui.list.filter(this.filterValue(this._value));
|
||||||
this.trySelectFirst();
|
if (didFilter) {
|
||||||
|
this.trySelectFirst();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
this.onDidChangeValueEmitter.fire(this._value);
|
this.onDidChangeValueEmitter.fire(this._value);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue