Automation editor: fix focus handling (#26755)

This commit is contained in:
Wendelin
2025-08-29 08:39:06 +02:00
committed by GitHub
parent a376670478
commit b86c1db83d
9 changed files with 60 additions and 54 deletions

View File

@@ -103,7 +103,9 @@ export class HaAutomationRow extends LitElement {
}
public focus() {
requestAnimationFrame(() => this._rowElement?.focus());
requestAnimationFrame(() => {
this._rowElement?.focus();
});
}
static styles = css`