diff --git a/src/panels/config/integrations/dialog-add-integration.ts b/src/panels/config/integrations/dialog-add-integration.ts index 62e86a5874..c8a7616edc 100644 --- a/src/panels/config/integrations/dialog-add-integration.ts +++ b/src/panels/config/integrations/dialog-add-integration.ts @@ -139,12 +139,13 @@ class AddIntegrationDialog extends LitElement { } if (this._initialFilter !== undefined && this._filter === "") { this._initialFilter = undefined; - this._filter = ""; + this._filter = undefined; this._width = undefined; this._height = undefined; } else if ( this.hasUpdated && changedProps.has("_filter") && + !changedProps.has("_open") && (!this._width || !this._height) ) { // Store the width and height so that when we search, box doesn't jump