Skip to content

Commit

Permalink
Fix delete button for state content in iOS and Android (#23847)
Browse files Browse the repository at this point in the history
  • Loading branch information
piitaya authored Jan 22, 2025
1 parent 51e6e6d commit b89bd0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/components/entity/ha-entity-state-content-picker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ class HaEntityStatePicker extends LitElement {
no-style
@item-moved=${this._moveItem}
.disabled=${this.disabled}
handle-selector="[data-handle]"
handle-selector="button.primary.action"
>
<ha-chip-set>
${repeat(
Expand All @@ -194,7 +194,6 @@ class HaEntityStatePicker extends LitElement {
@remove=${this._removeItem}
.label=${label}
selected
data-handle
>
<ha-svg-icon slot="icon" .path=${mdiDrag}></ha-svg-icon>
${label}
Expand Down
3 changes: 1 addition & 2 deletions src/components/ha-selector/ha-selector-select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export class HaSelectSelector extends LitElement {
no-style
.disabled=${!this.selector.select.reorder}
@item-moved=${this._itemMoved}
handle-selector="[data-handle]"
handle-selector="button.primary.action"
>
<ha-chip-set>
${repeat(
Expand All @@ -172,7 +172,6 @@ export class HaSelectSelector extends LitElement {
@remove=${this._removeItem}
.label=${label}
selected
data-handle
>
${this.selector.select?.reorder
? html`
Expand Down

0 comments on commit b89bd0b

Please sign in to comment.