mirror of
https://github.com/home-assistant/frontend.git
synced 2025-12-20 02:38:53 +00:00
Fixes for menus
This commit is contained in:
@@ -471,7 +471,6 @@ export class MoreInfoDialog extends ScrollableFadeMixin(LitElement) {
|
|||||||
menu-corner="END"
|
menu-corner="END"
|
||||||
slot="actionItems"
|
slot="actionItems"
|
||||||
@closed=${stopPropagation}
|
@closed=${stopPropagation}
|
||||||
fixed
|
|
||||||
>
|
>
|
||||||
<ha-icon-button
|
<ha-icon-button
|
||||||
slot="trigger"
|
slot="trigger"
|
||||||
@@ -593,7 +592,6 @@ export class MoreInfoDialog extends ScrollableFadeMixin(LitElement) {
|
|||||||
menu-corner="END"
|
menu-corner="END"
|
||||||
slot="actionItems"
|
slot="actionItems"
|
||||||
@closed=${stopPropagation}
|
@closed=${stopPropagation}
|
||||||
fixed
|
|
||||||
>
|
>
|
||||||
<ha-icon-button
|
<ha-icon-button
|
||||||
slot="trigger"
|
slot="trigger"
|
||||||
|
|||||||
@@ -417,7 +417,6 @@ export class EntityRegistrySettingsEditor extends LitElement {
|
|||||||
"ui.dialogs.entity_registry.editor.device_class"
|
"ui.dialogs.entity_registry.editor.device_class"
|
||||||
)}
|
)}
|
||||||
naturalMenuWidth
|
naturalMenuWidth
|
||||||
fixedMenuPosition
|
|
||||||
@selected=${this._switchAsDomainChanged}
|
@selected=${this._switchAsDomainChanged}
|
||||||
@closed=${stopPropagation}
|
@closed=${stopPropagation}
|
||||||
>
|
>
|
||||||
@@ -454,7 +453,6 @@ export class EntityRegistrySettingsEditor extends LitElement {
|
|||||||
)}
|
)}
|
||||||
.value=${this._switchAsDomain}
|
.value=${this._switchAsDomain}
|
||||||
naturalMenuWidth
|
naturalMenuWidth
|
||||||
fixedMenuPosition
|
|
||||||
@selected=${this._switchAsDomainChanged}
|
@selected=${this._switchAsDomainChanged}
|
||||||
@closed=${stopPropagation}
|
@closed=${stopPropagation}
|
||||||
>
|
>
|
||||||
@@ -507,7 +505,6 @@ export class EntityRegistrySettingsEditor extends LitElement {
|
|||||||
)}
|
)}
|
||||||
.value=${this._deviceClass}
|
.value=${this._deviceClass}
|
||||||
naturalMenuWidth
|
naturalMenuWidth
|
||||||
fixedMenuPosition
|
|
||||||
clearable
|
clearable
|
||||||
@selected=${this._deviceClassChanged}
|
@selected=${this._deviceClassChanged}
|
||||||
@closed=${stopPropagation}
|
@closed=${stopPropagation}
|
||||||
@@ -554,7 +551,6 @@ export class EntityRegistrySettingsEditor extends LitElement {
|
|||||||
)}
|
)}
|
||||||
.value=${stateObj.attributes.unit_of_measurement}
|
.value=${stateObj.attributes.unit_of_measurement}
|
||||||
naturalMenuWidth
|
naturalMenuWidth
|
||||||
fixedMenuPosition
|
|
||||||
@selected=${this._unitChanged}
|
@selected=${this._unitChanged}
|
||||||
@closed=${stopPropagation}
|
@closed=${stopPropagation}
|
||||||
>
|
>
|
||||||
@@ -609,7 +605,6 @@ export class EntityRegistrySettingsEditor extends LitElement {
|
|||||||
)}
|
)}
|
||||||
.value=${stateObj.attributes.unit_of_measurement}
|
.value=${stateObj.attributes.unit_of_measurement}
|
||||||
naturalMenuWidth
|
naturalMenuWidth
|
||||||
fixedMenuPosition
|
|
||||||
@selected=${this._unitChanged}
|
@selected=${this._unitChanged}
|
||||||
@closed=${stopPropagation}
|
@closed=${stopPropagation}
|
||||||
>
|
>
|
||||||
@@ -637,7 +632,6 @@ export class EntityRegistrySettingsEditor extends LitElement {
|
|||||||
? "default"
|
? "default"
|
||||||
: this._precision.toString()}
|
: this._precision.toString()}
|
||||||
naturalMenuWidth
|
naturalMenuWidth
|
||||||
fixedMenuPosition
|
|
||||||
@selected=${this._precisionChanged}
|
@selected=${this._precisionChanged}
|
||||||
@closed=${stopPropagation}
|
@closed=${stopPropagation}
|
||||||
>
|
>
|
||||||
@@ -670,7 +664,6 @@ export class EntityRegistrySettingsEditor extends LitElement {
|
|||||||
)}
|
)}
|
||||||
.value=${this._precipitation_unit}
|
.value=${this._precipitation_unit}
|
||||||
naturalMenuWidth
|
naturalMenuWidth
|
||||||
fixedMenuPosition
|
|
||||||
@selected=${this._precipitationUnitChanged}
|
@selected=${this._precipitationUnitChanged}
|
||||||
@closed=${stopPropagation}
|
@closed=${stopPropagation}
|
||||||
>
|
>
|
||||||
@@ -686,7 +679,6 @@ export class EntityRegistrySettingsEditor extends LitElement {
|
|||||||
)}
|
)}
|
||||||
.value=${this._pressure_unit}
|
.value=${this._pressure_unit}
|
||||||
naturalMenuWidth
|
naturalMenuWidth
|
||||||
fixedMenuPosition
|
|
||||||
@selected=${this._pressureUnitChanged}
|
@selected=${this._pressureUnitChanged}
|
||||||
@closed=${stopPropagation}
|
@closed=${stopPropagation}
|
||||||
>
|
>
|
||||||
@@ -702,7 +694,6 @@ export class EntityRegistrySettingsEditor extends LitElement {
|
|||||||
)}
|
)}
|
||||||
.value=${this._temperature_unit}
|
.value=${this._temperature_unit}
|
||||||
naturalMenuWidth
|
naturalMenuWidth
|
||||||
fixedMenuPosition
|
|
||||||
@selected=${this._temperatureUnitChanged}
|
@selected=${this._temperatureUnitChanged}
|
||||||
@closed=${stopPropagation}
|
@closed=${stopPropagation}
|
||||||
>
|
>
|
||||||
@@ -718,7 +709,6 @@ export class EntityRegistrySettingsEditor extends LitElement {
|
|||||||
)}
|
)}
|
||||||
.value=${this._visibility_unit}
|
.value=${this._visibility_unit}
|
||||||
naturalMenuWidth
|
naturalMenuWidth
|
||||||
fixedMenuPosition
|
|
||||||
@selected=${this._visibilityUnitChanged}
|
@selected=${this._visibilityUnitChanged}
|
||||||
@closed=${stopPropagation}
|
@closed=${stopPropagation}
|
||||||
>
|
>
|
||||||
@@ -734,7 +724,6 @@ export class EntityRegistrySettingsEditor extends LitElement {
|
|||||||
)}
|
)}
|
||||||
.value=${this._wind_speed_unit}
|
.value=${this._wind_speed_unit}
|
||||||
naturalMenuWidth
|
naturalMenuWidth
|
||||||
fixedMenuPosition
|
|
||||||
@selected=${this._windSpeedUnitChanged}
|
@selected=${this._windSpeedUnitChanged}
|
||||||
@closed=${stopPropagation}
|
@closed=${stopPropagation}
|
||||||
>
|
>
|
||||||
@@ -823,7 +812,6 @@ export class EntityRegistrySettingsEditor extends LitElement {
|
|||||||
"ui.dialogs.entity_registry.editor.stream.stream_orientation"
|
"ui.dialogs.entity_registry.editor.stream.stream_orientation"
|
||||||
)}
|
)}
|
||||||
naturalMenuWidth
|
naturalMenuWidth
|
||||||
fixedMenuPosition
|
|
||||||
.disabled=${this.disabled}
|
.disabled=${this.disabled}
|
||||||
@selected=${this._handleCameraOrientationChanged}
|
@selected=${this._handleCameraOrientationChanged}
|
||||||
@closed=${stopPropagation}
|
@closed=${stopPropagation}
|
||||||
|
|||||||
Reference in New Issue
Block a user