mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-22 16:56:35 +00:00
Fix delete button for state content in iOS (#23839)
This commit is contained in:
parent
dcb74ad2ee
commit
7a7c204d74
@ -178,7 +178,7 @@ class HaEntityStatePicker extends LitElement {
|
||||
no-style
|
||||
@item-moved=${this._moveItem}
|
||||
.disabled=${this.disabled}
|
||||
filter="button.trailing.action"
|
||||
handle-selector="[data-handle]"
|
||||
>
|
||||
<ha-chip-set>
|
||||
${repeat(
|
||||
@ -194,13 +194,9 @@ class HaEntityStatePicker extends LitElement {
|
||||
@remove=${this._removeItem}
|
||||
.label=${label}
|
||||
selected
|
||||
data-handle
|
||||
>
|
||||
<ha-svg-icon
|
||||
slot="icon"
|
||||
.path=${mdiDrag}
|
||||
data-handle
|
||||
></ha-svg-icon>
|
||||
|
||||
<ha-svg-icon slot="icon" .path=${mdiDrag}></ha-svg-icon>
|
||||
${label}
|
||||
</ha-input-chip>
|
||||
`;
|
||||
|
@ -156,6 +156,7 @@ export class HaSelectSelector extends LitElement {
|
||||
no-style
|
||||
.disabled=${!this.selector.select.reorder}
|
||||
@item-moved=${this._itemMoved}
|
||||
handle-selector="[data-handle]"
|
||||
>
|
||||
<ha-chip-set>
|
||||
${repeat(
|
||||
@ -171,13 +172,13 @@ export class HaSelectSelector extends LitElement {
|
||||
@remove=${this._removeItem}
|
||||
.label=${label}
|
||||
selected
|
||||
data-handle
|
||||
>
|
||||
${this.selector.select?.reorder
|
||||
? html`
|
||||
<ha-svg-icon
|
||||
slot="icon"
|
||||
.path=${mdiDrag}
|
||||
data-handle
|
||||
></ha-svg-icon>
|
||||
`
|
||||
: nothing}
|
||||
|
Loading…
x
Reference in New Issue
Block a user