1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-04-02 00:27:49 +01:00

Fix event entity row propagation (#30163)

* Stop event entity row value propagation

* Catch interaction
This commit is contained in:
Aidan Timson
2026-03-16 12:32:50 +00:00
committed by Bram Kragten
parent 22c0035e60
commit 4020bcec42

View File

@@ -52,7 +52,11 @@ class HuiEventEntityRow extends LitElement implements LovelaceRow {
}
return html`
<hui-generic-entity-row .hass=${this.hass} .config=${this._config}>
<hui-generic-entity-row
.hass=${this.hass}
.config=${this._config}
.catchInteraction=${false}
>
<div
@action=${this._handleAction}
.actionHandler=${actionHandler({
@@ -81,6 +85,8 @@ class HuiEventEntityRow extends LitElement implements LovelaceRow {
}
private _handleAction(ev: ActionHandlerEvent) {
ev.preventDefault();
ev.stopPropagation();
handleAction(this, this.hass!, this._config!, ev.detail.action);
}