Automation editor mobile bottom sheet (#26680)

This commit is contained in:
Wendelin
2025-08-25 16:27:57 +02:00
committed by GitHub
parent 7ab27d620a
commit 4f4343d6c8
22 changed files with 525 additions and 123 deletions

View File

@@ -75,11 +75,14 @@ export default class HaScriptFields extends LitElement {
)!;
row.updateComplete.then(() => {
row.openSidebar();
row.focus();
if (this.narrow) {
row.scrollIntoView();
row.scrollIntoView({
block: "start",
behavior: "smooth",
});
}
row.focus();
});
}