mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-09 19:09:48 +00:00
Automation editor: fix focus handling (#26755)
This commit is contained in:
@@ -103,7 +103,9 @@ export class HaAutomationRow extends LitElement {
|
||||
}
|
||||
|
||||
public focus() {
|
||||
requestAnimationFrame(() => this._rowElement?.focus());
|
||||
requestAnimationFrame(() => {
|
||||
this._rowElement?.focus();
|
||||
});
|
||||
}
|
||||
|
||||
static styles = css`
|
||||
|
||||
Reference in New Issue
Block a user