Bump Lit, use cache for query (#7245)

This commit is contained in:
Bram Kragten
2020-10-06 15:55:55 +02:00
committed by GitHub
parent a076fcde84
commit 5937be695f
37 changed files with 132 additions and 153 deletions

View File

@@ -55,7 +55,7 @@ class HaEntityAttributePicker extends LitElement {
@property({ type: Boolean }) private _opened = false;
@query("vaadin-combo-box-light") private _comboBox!: HTMLElement;
@query("vaadin-combo-box-light", true) private _comboBox!: HTMLElement;
protected shouldUpdate(changedProps: PropertyValues) {
return !(!changedProps.has("_opened") && this._opened);