diff --git a/src/panels/lovelace/components/hui-theme-select-editor.ts b/src/panels/lovelace/components/hui-theme-select-editor.ts index 60a3746e8c8f..47e05ae1bf1d 100644 --- a/src/panels/lovelace/components/hui-theme-select-editor.ts +++ b/src/panels/lovelace/components/hui-theme-select-editor.ts @@ -28,7 +28,7 @@ export class HuiThemeSelectEditor extends LitElement { @selected=${this._changed} @closed=${stopPropagation} fixedMenuPosition - naturalMenuWidt + naturalMenuWidth > ${this.hass!.localize( diff --git a/src/panels/lovelace/editor/config-elements/hui-calendar-card-editor.ts b/src/panels/lovelace/editor/config-elements/hui-calendar-card-editor.ts index fe59a5b16ddd..2142f325f42f 100644 --- a/src/panels/lovelace/editor/config-elements/hui-calendar-card-editor.ts +++ b/src/panels/lovelace/editor/config-elements/hui-calendar-card-editor.ts @@ -91,6 +91,8 @@ export class HuiCalendarCardEditor .configValue=${"initial_view"} @selected=${this._viewChanged} @closed=${stopPropagation} + naturalMenuWidth + fixedMenuPosition > ${views.map( (view) => html` diff --git a/src/panels/lovelace/editor/config-elements/hui-conditional-card-editor.ts b/src/panels/lovelace/editor/config-elements/hui-conditional-card-editor.ts index c3fd28a9a154..c2a0e65806d0 100644 --- a/src/panels/lovelace/editor/config-elements/hui-conditional-card-editor.ts +++ b/src/panels/lovelace/editor/config-elements/hui-conditional-card-editor.ts @@ -160,6 +160,8 @@ export class HuiConditionalCardEditor .configValue=${"invert"} @selected=${this._changeCondition} @closed=${stopPropagation} + naturalMenuWidth + fixedMenuPosition > ${this.hass!.localize( diff --git a/src/panels/lovelace/editor/config-elements/hui-generic-entity-row-editor.ts b/src/panels/lovelace/editor/config-elements/hui-generic-entity-row-editor.ts index bc1b5347010a..40ec4f22530b 100644 --- a/src/panels/lovelace/editor/config-elements/hui-generic-entity-row-editor.ts +++ b/src/panels/lovelace/editor/config-elements/hui-generic-entity-row-editor.ts @@ -5,6 +5,7 @@ import { CSSResultGroup, html, LitElement, TemplateResult } from "lit"; import { customElement, property, state } from "lit/decorators"; import { assert } from "superstruct"; import { fireEvent } from "../../../../common/dom/fire_event"; +import { stopPropagation } from "../../../../common/dom/stop_propagation"; import { computeDomain } from "../../../../common/entity/compute_domain"; import { domainIcon } from "../../../../common/entity/domain_icon"; import "../../../../components/ha-formfield"; @@ -103,9 +104,12 @@ export class HuiGenericEntityRowEditor ${this.hass!.localize( diff --git a/src/panels/lovelace/editor/hui-element-editor.ts b/src/panels/lovelace/editor/hui-element-editor.ts index a1bcb849a283..e06cb7d83b5a 100644 --- a/src/panels/lovelace/editor/hui-element-editor.ts +++ b/src/panels/lovelace/editor/hui-element-editor.ts @@ -335,6 +335,7 @@ export abstract class HuiElementEditor extends LitElement { ); } } else { + this._guiSupported = false; this.GUImode = false; } } catch (err: any) { diff --git a/src/panels/lovelace/editor/view-editor/hui-view-visibility-editor.ts b/src/panels/lovelace/editor/view-editor/hui-view-visibility-editor.ts index d4bb56583577..727325d07ca9 100644 --- a/src/panels/lovelace/editor/view-editor/hui-view-visibility-editor.ts +++ b/src/panels/lovelace/editor/view-editor/hui-view-visibility-editor.ts @@ -1,5 +1,4 @@ import "@material/mwc-list/mwc-list-item"; -import "@material/mwc-select/mwc-select"; import { css, CSSResultGroup,